home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 78.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 54 68 75 20 4a 75 6e 20 |.edu on |Thu Jun |
|00000040| 20 36 20 31 30 3a 32 31 | 3a 33 30 20 31 39 39 36 | 6 10:21|:30 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 63 61 | 6c 65 6e 64 61 72 2e 65 |/lisp/ca|lendar.e|
|00000080| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|00000090| 69 6f 6e 20 31 39 2e 33 | 31 2e 32 2e 0a 3b 3b 3b |ion 19.3|1.2..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 2e 32 39 22 29 29 29 |rsion "1|9.29")))|
|00000190| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 63 61 |. (er|ror "`ca|
|000001a0| 6c 65 6e 64 61 72 2e 65 | 6c 27 20 77 61 73 20 63 |lendar.e|l' was c|
|000001b0| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|000001c0| 73 20 31 39 2e 32 39 20 | 6f 72 20 6c 61 74 65 72 |s 19.29 |or later|
|000001d0| 22 29 29 0a 0a 0a 28 64 | 65 66 61 6c 69 61 73 20 |"))...(d|efalias |
|000001e0| 27 63 61 6c 65 6e 64 61 | 72 2d 76 65 72 73 69 6f |'calenda|r-versio|
|000001f0| 6e 20 23 5b 6e 69 6c 20 | 23 40 35 32 20 28 22 c0 |n #[nil |#@52 (".|
|00000200| c1 21 87 22 20 2e 20 5b | 6d 65 73 73 61 67 65 20 |.!." . [|message |
|00000210| 22 56 65 72 73 69 6f 6e | 20 36 2c 20 4f 63 74 6f |"Version| 6, Octo|
|00000220| 62 65 72 20 31 32 2c 20 | 31 39 39 35 22 5d 29 1f |ber 12, |1995"]).|
|00000230| 28 23 24 20 2e 20 35 30 | 39 29 20 6e 69 6c 20 32 |(#$ . 50|9) nil 2|
|00000240| 20 6e 69 6c 20 6e 69 6c | 5d 29 0a 23 40 31 31 35 | nil nil|]).#@115|
|00000250| 20 2a 54 68 65 20 64 61 | 79 20 6f 66 20 74 68 65 | *The da|y of the|
|00000260| 20 77 65 65 6b 20 6f 6e | 20 77 68 69 63 68 20 61 | week on| which a|
|00000270| 20 77 65 65 6b 20 69 6e | 20 74 68 65 20 63 61 6c | week in| the cal|
|00000280| 65 6e 64 61 72 20 62 65 | 67 69 6e 73 2e 0a 30 20 |endar be|gins..0 |
|00000290| 6d 65 61 6e 73 20 53 75 | 6e 64 61 79 20 28 64 65 |means Su|nday (de|
|000002a0| 66 61 75 6c 74 29 2c 20 | 31 20 6d 65 61 6e 73 20 |fault), |1 means |
|000002b0| 4d 6f 6e 64 61 79 2c 20 | 61 6e 64 20 73 6f 20 6f |Monday, |and so o|
|000002c0| 6e 2e 1f 0a 28 64 65 66 | 76 61 72 20 63 61 6c 65 |n...(def|var cale|
|000002d0| 6e 64 61 72 2d 77 65 65 | 6b 2d 73 74 61 72 74 2d |ndar-wee|k-start-|
|000002e0| 64 61 79 20 30 20 28 23 | 24 20 2e 20 2d 35 39 33 |day 0 (#|$ . -593|
|000002f0| 29 29 0a 23 40 32 34 36 | 20 2a 54 68 65 20 6f 66 |)).#@246| *The of|
|00000300| 66 73 65 74 20 6f 66 20 | 74 68 65 20 70 72 69 6e |fset of |the prin|
|00000310| 63 69 70 61 6c 20 6d 6f | 6e 74 68 20 66 72 6f 6d |cipal mo|nth from|
|00000320| 20 74 68 65 20 63 65 6e | 74 65 72 20 6f 66 20 74 | the cen|ter of t|
|00000330| 68 65 20 63 61 6c 65 6e | 64 61 72 20 77 69 6e 64 |he calen|dar wind|
|00000340| 6f 77 2e 0a 30 20 6d 65 | 61 6e 73 20 74 68 65 20 |ow..0 me|ans the |
|00000350| 70 72 69 6e 63 69 70 61 | 6c 20 6d 6f 6e 74 68 20 |principa|l month |
|00000360| 69 73 20 69 6e 20 74 68 | 65 20 63 65 6e 74 65 72 |is in th|e center|
|00000370| 20 28 64 65 66 61 75 6c | 74 29 2c 20 2d 31 20 6d | (defaul|t), -1 m|
|00000380| 65 61 6e 73 20 6f 6e 20 | 74 68 65 20 6c 65 66 74 |eans on |the left|
|00000390| 2c 0a 2b 31 20 6d 65 61 | 6e 73 20 6f 6e 20 74 68 |,.+1 mea|ns on th|
|000003a0| 65 20 72 69 67 68 74 2e | 20 20 4c 61 72 67 65 72 |e right.| Larger|
|000003b0| 20 28 6f 72 20 73 6d 61 | 6c 6c 65 72 29 20 76 61 | (or sma|ller) va|
|000003c0| 6c 75 65 73 20 70 75 73 | 68 20 74 68 65 20 70 72 |lues pus|h the pr|
|000003d0| 69 6e 63 69 70 61 6c 20 | 6d 6f 6e 74 68 20 6f 66 |incipal |month of|
|000003e0| 66 0a 74 68 65 20 73 63 | 72 65 65 6e 2e 1f 0a 28 |f.the sc|reen...(|
|000003f0| 64 65 66 76 61 72 20 63 | 61 6c 65 6e 64 61 72 2d |defvar c|alendar-|
|00000400| 6f 66 66 73 65 74 20 30 | 20 28 23 24 20 2e 20 2d |offset 0| (#$ . -|
|00000410| 37 36 31 29 29 0a 23 40 | 32 37 36 20 2a 4e 6f 6e |761)).#@|276 *Non|
|00000420| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 64 69 73 70 6c |-nil mea|ns displ|
|00000430| 61 79 20 63 75 72 72 65 | 6e 74 20 64 61 74 65 27 |ay curre|nt date'|
|00000440| 73 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |s diary |entries |
|00000450| 6f 6e 20 65 6e 74 72 79 | 2e 0a 54 68 65 20 64 69 |on entry|..The di|
|00000460| 61 72 79 20 69 73 20 64 | 69 73 70 6c 61 79 65 64 |ary is d|isplayed|
|00000470| 20 69 6e 20 61 6e 6f 74 | 68 65 72 20 77 69 6e 64 | in anot|her wind|
|00000480| 6f 77 20 77 68 65 6e 20 | 74 68 65 20 63 61 6c 65 |ow when |the cale|
|00000490| 6e 64 61 72 20 69 73 20 | 66 69 72 73 74 20 64 69 |ndar is |first di|
|000004a0| 73 70 6c 61 79 65 64 2c | 0a 69 66 20 74 68 65 20 |splayed,|.if the |
|000004b0| 63 75 72 72 65 6e 74 20 | 64 61 74 65 20 69 73 20 |current |date is |
|000004c0| 76 69 73 69 62 6c 65 2e | 20 20 54 68 65 20 6e 75 |visible.| The nu|
|000004d0| 6d 62 65 72 20 6f 66 20 | 64 61 79 73 20 6f 66 20 |mber of |days of |
|000004e0| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 20 64 69 |diary en|tries di|
|000004f0| 73 70 6c 61 79 65 64 0a | 69 73 20 67 6f 76 65 72 |splayed.|is gover|
|00000500| 6e 65 64 20 62 79 20 74 | 68 65 20 76 61 72 69 61 |ned by t|he varia|
|00000510| 62 6c 65 20 60 6e 75 6d | 62 65 72 2d 6f 66 2d 64 |ble `num|ber-of-d|
|00000520| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 27 2e 1f 0a |iary-ent|ries'...|
|00000530| 28 64 65 66 76 61 72 20 | 76 69 65 77 2d 64 69 61 |(defvar |view-dia|
|00000540| 72 79 2d 65 6e 74 72 69 | 65 73 2d 69 6e 69 74 69 |ry-entri|es-initi|
|00000550| 61 6c 6c 79 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |ally nil| (#$ . -|
|00000560| 31 30 35 32 29 29 0a 23 | 40 39 30 37 20 2a 53 70 |1052)).#|@907 *Sp|
|00000570| 65 63 69 66 69 65 73 20 | 68 6f 77 20 6d 61 6e 79 |ecifies |how many|
|00000580| 20 64 61 79 73 20 6f 66 | 20 64 69 61 72 79 20 65 | days of| diary e|
|00000590| 6e 74 72 69 65 73 20 61 | 72 65 20 74 6f 20 62 65 |ntries a|re to be|
|000005a0| 20 64 69 73 70 6c 61 79 | 65 64 20 69 6e 69 74 69 | display|ed initi|
|000005b0| 61 6c 6c 79 2e 0a 54 68 | 69 73 20 76 61 72 69 61 |ally..Th|is varia|
|000005c0| 62 6c 65 20 61 66 66 65 | 63 74 73 20 74 68 65 20 |ble affe|cts the |
|000005d0| 64 69 61 72 79 20 64 69 | 73 70 6c 61 79 20 77 68 |diary di|splay wh|
|000005e0| 65 6e 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 4d |en the c|ommand M|
|000005f0| 2d 78 20 64 69 61 72 79 | 20 69 73 20 75 73 65 64 |-x diary| is used|
|00000600| 2c 0a 6f 72 20 69 66 20 | 74 68 65 20 76 61 6c 75 |,.or if |the valu|
|00000610| 65 20 6f 66 20 74 68 65 | 20 76 61 72 69 61 62 6c |e of the| variabl|
|00000620| 65 20 60 76 69 65 77 2d | 64 69 61 72 79 2d 65 6e |e `view-|diary-en|
|00000630| 74 72 69 65 73 2d 69 6e | 69 74 69 61 6c 6c 79 27 |tries-in|itially'|
|00000640| 20 69 73 20 74 2e 20 20 | 46 6f 72 0a 65 78 61 6d | is t. |For.exam|
|00000650| 70 6c 65 2c 20 69 66 20 | 74 68 65 20 64 65 66 61 |ple, if |the defa|
|00000660| 75 6c 74 20 76 61 6c 75 | 65 20 31 20 69 73 20 75 |ult valu|e 1 is u|
|00000670| 73 65 64 2c 20 74 68 65 | 6e 20 6f 6e 6c 79 20 74 |sed, the|n only t|
|00000680| 68 65 20 63 75 72 72 65 | 6e 74 20 64 61 79 27 73 |he curre|nt day's|
|00000690| 20 64 69 61 72 79 0a 65 | 6e 74 72 69 65 73 20 77 | diary.e|ntries w|
|000006a0| 69 6c 6c 20 62 65 20 64 | 69 73 70 6c 61 79 65 64 |ill be d|isplayed|
|000006b0| 2e 20 20 49 66 20 74 68 | 65 20 76 61 6c 75 65 20 |. If th|e value |
|000006c0| 32 20 69 73 20 75 73 65 | 64 2c 20 74 68 65 6e 20 |2 is use|d, then |
|000006d0| 62 6f 74 68 20 74 68 65 | 20 63 75 72 72 65 6e 74 |both the| current|
|000006e0| 0a 64 61 79 27 73 20 61 | 6e 64 20 74 68 65 20 6e |.day's a|nd the n|
|000006f0| 65 78 74 20 64 61 79 27 | 73 20 65 6e 74 72 69 65 |ext day'|s entrie|
|00000700| 73 20 77 69 6c 6c 20 62 | 65 20 64 69 73 70 6c 61 |s will b|e displa|
|00000710| 79 65 64 2e 0a 0a 54 68 | 65 20 76 61 6c 75 65 20 |yed...Th|e value |
|00000720| 63 61 6e 20 61 6c 73 6f | 20 62 65 20 61 20 76 65 |can also| be a ve|
|00000730| 63 74 6f 72 20 73 75 63 | 68 20 61 73 20 5b 30 20 |ctor suc|h as [0 |
|00000740| 32 20 32 20 32 20 32 20 | 34 20 31 5d 3b 20 74 68 |2 2 2 2 |4 1]; th|
|00000750| 69 73 20 76 61 6c 75 65 | 0a 73 61 79 73 20 74 6f |is value|.says to|
|00000760| 20 64 69 73 70 6c 61 79 | 20 6e 6f 20 64 69 61 72 | display| no diar|
|00000770| 79 20 65 6e 74 72 69 65 | 73 20 6f 6e 20 53 75 6e |y entrie|s on Sun|
|00000780| 64 61 79 2c 20 74 68 65 | 20 64 69 73 70 6c 61 79 |day, the| display|
|00000790| 20 74 68 65 20 65 6e 74 | 72 69 65 73 0a 66 6f 72 | the ent|ries.for|
|000007a0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 61 74 | the cur|rent dat|
|000007b0| 65 20 61 6e 64 20 74 68 | 65 20 64 61 79 20 61 66 |e and th|e day af|
|000007c0| 74 65 72 20 6f 6e 20 4d | 6f 6e 64 61 79 20 74 68 |ter on M|onday th|
|000007d0| 72 6f 75 67 68 20 54 68 | 75 72 73 64 61 79 2c 0a |rough Th|ursday,.|
|000007e0| 64 69 73 70 6c 61 79 20 | 46 72 69 64 61 79 20 74 |display |Friday t|
|000007f0| 68 72 6f 75 67 68 20 4d | 6f 6e 64 61 79 27 73 20 |hrough M|onday's |
|00000800| 65 6e 74 72 69 65 73 20 | 6f 6e 20 46 72 69 64 61 |entries |on Frida|
|00000810| 79 2c 20 61 6e 64 20 64 | 69 73 70 6c 61 79 20 6f |y, and d|isplay o|
|00000820| 6e 6c 79 0a 53 61 74 75 | 72 64 61 79 27 73 20 65 |nly.Satu|rday's e|
|00000830| 6e 74 72 69 65 73 20 6f | 6e 20 53 61 74 75 72 64 |ntries o|n Saturd|
|00000840| 61 79 2e 0a 0a 54 68 69 | 73 20 76 61 72 69 61 62 |ay...Thi|s variab|
|00000850| 6c 65 20 64 6f 65 73 20 | 6e 6f 74 20 61 66 66 65 |le does |not affe|
|00000860| 63 74 20 74 68 65 20 64 | 69 61 72 79 20 64 69 73 |ct the d|iary dis|
|00000870| 70 6c 61 79 20 77 69 74 | 68 20 74 68 65 20 60 64 |play wit|h the `d|
|00000880| 27 20 63 6f 6d 6d 61 6e | 64 0a 66 72 6f 6d 20 74 |' comman|d.from t|
|00000890| 68 65 20 63 61 6c 65 6e | 64 61 72 3b 20 69 6e 20 |he calen|dar; in |
|000008a0| 74 68 61 74 20 63 61 73 | 65 2c 20 74 68 65 20 70 |that cas|e, the p|
|000008b0| 72 65 66 69 78 20 61 72 | 67 75 6d 65 6e 74 20 63 |refix ar|gument c|
|000008c0| 6f 6e 74 72 6f 6c 73 20 | 74 68 65 0a 6e 75 6d 62 |ontrols |the.numb|
|000008d0| 65 72 20 6f 66 20 64 61 | 79 73 20 6f 66 20 64 69 |er of da|ys of di|
|000008e0| 61 72 79 20 65 6e 74 72 | 69 65 73 20 64 69 73 70 |ary entr|ies disp|
|000008f0| 6c 61 79 65 64 2e 1f 0a | 28 64 65 66 76 61 72 20 |layed...|(defvar |
|00000900| 6e 75 6d 62 65 72 2d 6f | 66 2d 64 69 61 72 79 2d |number-o|f-diary-|
|00000910| 65 6e 74 72 69 65 73 20 | 31 20 28 23 24 20 2e 20 |entries |1 (#$ . |
|00000920| 2d 31 33 38 39 29 29 0a | 23 40 31 34 31 20 2a 4e |-1389)).|#@141 *N|
|00000930| 6f 6e 2d 6e 69 6c 20 6d | 65 61 6e 73 20 6d 61 72 |on-nil m|eans mar|
|00000940| 6b 20 64 61 74 65 73 20 | 77 69 74 68 20 64 69 61 |k dates |with dia|
|00000950| 72 79 20 65 6e 74 72 69 | 65 73 2c 20 69 6e 20 74 |ry entri|es, in t|
|00000960| 68 65 20 63 61 6c 65 6e | 64 61 72 20 77 69 6e 64 |he calen|dar wind|
|00000970| 6f 77 2e 0a 54 68 65 20 | 6d 61 72 6b 69 6e 67 20 |ow..The |marking |
|00000980| 73 79 6d 62 6f 6c 20 69 | 73 20 73 70 65 63 69 66 |symbol i|s specif|
|00000990| 69 65 64 20 62 79 20 74 | 68 65 20 76 61 72 69 61 |ied by t|he varia|
|000009a0| 62 6c 65 20 60 64 69 61 | 72 79 2d 65 6e 74 72 79 |ble `dia|ry-entry|
|000009b0| 2d 6d 61 72 6b 65 72 27 | 2e 1f 0a 28 64 65 66 76 |-marker'|...(defv|
|000009c0| 61 72 20 6d 61 72 6b 2d | 64 69 61 72 79 2d 65 6e |ar mark-|diary-en|
|000009d0| 74 72 69 65 73 2d 69 6e | 2d 63 61 6c 65 6e 64 61 |tries-in|-calenda|
|000009e0| 72 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 32 33 35 |r nil (#|$ . -235|
|000009f0| 30 29 29 0a 23 40 39 37 | 20 2a 55 73 65 64 20 74 |0)).#@97| *Used t|
|00000a00| 6f 20 6d 61 72 6b 20 64 | 61 74 65 73 20 74 68 61 |o mark d|ates tha|
|00000a10| 74 20 68 61 76 65 20 64 | 69 61 72 79 20 65 6e 74 |t have d|iary ent|
|00000a20| 72 69 65 73 2e 0a 43 61 | 6e 20 62 65 20 65 69 74 |ries..Ca|n be eit|
|00000a30| 68 65 72 20 61 20 73 69 | 6e 67 6c 65 2d 63 68 61 |her a si|ngle-cha|
|00000a40| 72 61 63 74 65 72 20 73 | 74 72 69 6e 67 20 6f 72 |racter s|tring or|
|00000a50| 20 61 20 66 61 63 65 2e | 1f 0a 28 64 65 66 76 61 | a face.|..(defva|
|00000a60| 72 20 64 69 61 72 79 2d | 65 6e 74 72 79 2d 6d 61 |r diary-|entry-ma|
|00000a70| 72 6b 65 72 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |rker (by|te-code |
|00000a80| 22 08 84 06 00 c1 87 c2 | c3 21 88 c4 c5 c6 5c 22 |".......|.!....\"|
|00000a90| 88 c7 c6 21 88 c8 c6 21 | 84 2b 00 c9 20 83 26 00 |...!...!|.+.. .&.|
|00000aa0| ca c6 cb 5c 22 88 82 2b | 00 cc cd c6 5c 22 88 c6 |...\"..+|....\"..|
|00000ab0| 87 22 20 5b 77 69 6e 64 | 6f 77 2d 73 79 73 74 65 |." [wind|ow-syste|
|00000ac0| 6d 20 22 2b 22 20 72 65 | 71 75 69 72 65 20 66 61 |m "+" re|quire fa|
|00000ad0| 63 65 73 20 61 64 64 2d | 74 6f 2d 6c 69 73 74 20 |ces add-|to-list |
|00000ae0| 66 61 63 65 6d 65 6e 75 | 2d 75 6e 6c 69 73 74 65 |facemenu|-unliste|
|00000af0| 64 2d 66 61 63 65 73 20 | 64 69 61 72 79 2d 66 61 |d-faces |diary-fa|
|00000b00| 63 65 20 6d 61 6b 65 2d | 66 61 63 65 20 66 61 63 |ce make-|face fac|
|00000b10| 65 2d 64 69 66 66 65 72 | 73 2d 66 72 6f 6d 2d 64 |e-differ|s-from-d|
|00000b20| 65 66 61 75 6c 74 2d 70 | 20 78 2d 64 69 73 70 6c |efault-p| x-displ|
|00000b30| 61 79 2d 63 6f 6c 6f 72 | 2d 70 20 73 65 74 2d 66 |ay-color|-p set-f|
|00000b40| 61 63 65 2d 66 6f 72 65 | 67 72 6f 75 6e 64 20 22 |ace-fore|ground "|
|00000b50| 72 65 64 22 20 63 6f 70 | 79 2d 66 61 63 65 20 62 |red" cop|y-face b|
|00000b60| 6f 6c 64 5d 20 33 29 20 | 28 23 24 20 2e 20 2d 32 |old] 3) |(#$ . -2|
|00000b70| 35 35 33 29 29 0a 23 40 | 38 30 20 2a 55 73 65 64 |553)).#@|80 *Used|
|00000b80| 20 74 6f 20 6d 61 72 6b | 20 74 6f 64 61 79 27 73 | to mark| today's|
|00000b90| 20 64 61 74 65 2e 0a 43 | 61 6e 20 62 65 20 65 69 | date..C|an be ei|
|00000ba0| 74 68 65 72 20 61 20 73 | 69 6e 67 6c 65 2d 63 68 |ther a s|ingle-ch|
|00000bb0| 61 72 61 63 74 65 72 20 | 73 74 72 69 6e 67 20 6f |aracter |string o|
|00000bc0| 72 20 61 20 66 61 63 65 | 2e 1f 0a 28 64 65 66 76 |r a face|...(defv|
|00000bd0| 61 72 20 63 61 6c 65 6e | 64 61 72 2d 74 6f 64 61 |ar calen|dar-toda|
|00000be0| 79 2d 6d 61 72 6b 65 72 | 20 28 62 79 74 65 2d 63 |y-marker| (byte-c|
|00000bf0| 6f 64 65 20 22 08 84 06 | 00 c1 87 c2 c3 21 88 c4 |ode "...|.....!..|
|00000c00| c5 c6 5c 22 88 c7 c6 21 | 88 c8 c6 21 84 1e 00 c9 |..\"...!|...!....|
|00000c10| c6 ca 5c 22 88 c6 87 22 | 20 5b 77 69 6e 64 6f 77 |..\"..."| [window|
|00000c20| 2d 73 79 73 74 65 6d 20 | 22 3d 22 20 72 65 71 75 |-system |"=" requ|
|00000c30| 69 72 65 20 66 61 63 65 | 73 20 61 64 64 2d 74 6f |ire face|s add-to|
|00000c40| 2d 6c 69 73 74 20 66 61 | 63 65 6d 65 6e 75 2d 75 |-list fa|cemenu-u|
|00000c50| 6e 6c 69 73 74 65 64 2d | 66 61 63 65 73 20 63 61 |nlisted-|faces ca|
|00000c60| 6c 65 6e 64 61 72 2d 74 | 6f 64 61 79 2d 66 61 63 |lendar-t|oday-fac|
|00000c70| 65 20 6d 61 6b 65 2d 66 | 61 63 65 20 66 61 63 65 |e make-f|ace face|
|00000c80| 2d 64 69 66 66 65 72 73 | 2d 66 72 6f 6d 2d 64 65 |-differs|-from-de|
|00000c90| 66 61 75 6c 74 2d 70 20 | 73 65 74 2d 66 61 63 65 |fault-p |set-face|
|00000ca0| 2d 75 6e 64 65 72 6c 69 | 6e 65 2d 70 20 74 5d 20 |-underli|ne-p t] |
|00000cb0| 33 29 20 28 23 24 20 2e | 20 2d 32 39 33 39 29 29 |3) (#$ .| -2939))|
|00000cc0| 0a 23 40 39 37 20 2a 55 | 73 65 64 20 74 6f 20 6d |.#@97 *U|sed to m|
|00000cd0| 61 72 6b 20 6e 6f 74 61 | 62 6c 65 20 64 61 74 65 |ark nota|ble date|
|00000ce0| 73 20 69 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |s in the| calenda|
|00000cf0| 72 2e 0a 43 61 6e 20 62 | 65 20 65 69 74 68 65 72 |r..Can b|e either|
|00000d00| 20 61 20 73 69 6e 67 6c | 65 2d 63 68 61 72 61 63 | a singl|e-charac|
|00000d10| 74 65 72 20 73 74 72 69 | 6e 67 20 6f 72 20 61 20 |ter stri|ng or a |
|00000d20| 66 61 63 65 2e 1f 0a 28 | 64 65 66 76 61 72 20 63 |face...(|defvar c|
|00000d30| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 2d |alendar-|holiday-|
|00000d40| 6d 61 72 6b 65 72 20 28 | 62 79 74 65 2d 63 6f 64 |marker (|byte-cod|
|00000d50| 65 20 22 08 84 06 00 c1 | 87 c2 c3 21 88 c4 c5 c6 |e ".....|...!....|
|00000d60| 5c 22 88 c7 c6 21 88 c8 | c6 21 84 30 00 c9 20 83 |\"...!..|.!.0.. .|
|00000d70| 26 00 ca c6 cb 5c 22 88 | 82 30 00 ca c6 cc 5c 22 |&....\".|.0....\"|
|00000d80| 88 cd c6 ce 5c 22 88 c6 | 87 22 20 5b 77 69 6e 64 |....\"..|." [wind|
|00000d90| 6f 77 2d 73 79 73 74 65 | 6d 20 22 2a 22 20 72 65 |ow-syste|m "*" re|
|00000da0| 71 75 69 72 65 20 66 61 | 63 65 73 20 61 64 64 2d |quire fa|ces add-|
|00000db0| 74 6f 2d 6c 69 73 74 20 | 66 61 63 65 6d 65 6e 75 |to-list |facemenu|
|00000dc0| 2d 75 6e 6c 69 73 74 65 | 64 2d 66 61 63 65 73 20 |-unliste|d-faces |
|00000dd0| 68 6f 6c 69 64 61 79 2d | 66 61 63 65 20 6d 61 6b |holiday-|face mak|
|00000de0| 65 2d 66 61 63 65 20 66 | 61 63 65 2d 64 69 66 66 |e-face f|ace-diff|
|00000df0| 65 72 73 2d 66 72 6f 6d | 2d 64 65 66 61 75 6c 74 |ers-from|-default|
|00000e00| 2d 70 20 78 2d 64 69 73 | 70 6c 61 79 2d 63 6f 6c |-p x-dis|play-col|
|00000e10| 6f 72 2d 70 20 73 65 74 | 2d 66 61 63 65 2d 62 61 |or-p set|-face-ba|
|00000e20| 63 6b 67 72 6f 75 6e 64 | 20 22 70 69 6e 6b 22 20 |ckground| "pink" |
|00000e30| 22 62 6c 61 63 6b 22 20 | 73 65 74 2d 66 61 63 65 |"black" |set-face|
|00000e40| 2d 66 6f 72 65 67 72 6f | 75 6e 64 20 22 77 68 69 |-foregro|und "whi|
|00000e50| 74 65 22 5d 20 33 29 20 | 28 23 24 20 2e 20 2d 33 |te"] 3) |(#$ . -3|
|00000e60| 32 37 30 29 29 0a 23 40 | 31 35 37 20 2a 4e 6f 6e |270)).#@|157 *Non|
|00000e70| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 64 69 73 70 6c |-nil mea|ns displ|
|00000e80| 61 79 20 68 6f 6c 69 64 | 61 79 73 20 66 6f 72 20 |ay holid|ays for |
|00000e90| 63 75 72 72 65 6e 74 20 | 74 68 72 65 65 20 6d 6f |current |three mo|
|00000ea0| 6e 74 68 20 70 65 72 69 | 6f 64 20 6f 6e 20 65 6e |nth peri|od on en|
|00000eb0| 74 72 79 2e 0a 54 68 65 | 20 68 6f 6c 69 64 61 79 |try..The| holiday|
|00000ec0| 73 20 61 72 65 20 64 69 | 73 70 6c 61 79 65 64 20 |s are di|splayed |
|00000ed0| 69 6e 20 61 6e 6f 74 68 | 65 72 20 77 69 6e 64 6f |in anoth|er windo|
|00000ee0| 77 20 77 68 65 6e 20 74 | 68 65 20 63 61 6c 65 6e |w when t|he calen|
|00000ef0| 64 61 72 20 69 73 20 66 | 69 72 73 74 0a 64 69 73 |dar is f|irst.dis|
|00000f00| 70 6c 61 79 65 64 2e 1f | 0a 28 64 65 66 76 61 72 |played..|.(defvar|
|00000f10| 20 76 69 65 77 2d 63 61 | 6c 65 6e 64 61 72 2d 68 | view-ca|lendar-h|
|00000f20| 6f 6c 69 64 61 79 73 2d | 69 6e 69 74 69 61 6c 6c |olidays-|initiall|
|00000f30| 79 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 33 36 39 |y nil (#|$ . -369|
|00000f40| 32 29 29 0a 23 40 31 33 | 38 20 2a 4e 6f 6e 2d 6e |2)).#@13|8 *Non-n|
|00000f50| 69 6c 20 6d 65 61 6e 73 | 20 6d 61 72 6b 20 64 61 |il means| mark da|
|00000f60| 74 65 73 20 6f 66 20 68 | 6f 6c 69 64 61 79 73 20 |tes of h|olidays |
|00000f70| 69 6e 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 20 |in the c|alendar |
|00000f80| 77 69 6e 64 6f 77 2e 0a | 54 68 65 20 6d 61 72 6b |window..|The mark|
|00000f90| 69 6e 67 20 73 79 6d 62 | 6f 6c 20 69 73 20 73 70 |ing symb|ol is sp|
|00000fa0| 65 63 69 66 69 65 64 20 | 62 79 20 74 68 65 20 76 |ecified |by the v|
|00000fb0| 61 72 69 61 62 6c 65 20 | 60 63 61 6c 65 6e 64 61 |ariable |`calenda|
|00000fc0| 72 2d 68 6f 6c 69 64 61 | 79 2d 6d 61 72 6b 65 72 |r-holida|y-marker|
|00000fd0| 27 2e 1f 0a 28 64 65 66 | 76 61 72 20 6d 61 72 6b |'...(def|var mark|
|00000fe0| 2d 68 6f 6c 69 64 61 79 | 73 2d 69 6e 2d 63 61 6c |-holiday|s-in-cal|
|00000ff0| 65 6e 64 61 72 20 6e 69 | 6c 20 28 23 24 20 2e 20 |endar ni|l (#$ . |
|00001000| 2d 33 39 31 34 29 29 0a | 23 40 32 31 31 20 2a 49 |-3914)).|#@211 *I|
|00001010| 66 20 6e 69 6c 2c 20 73 | 68 6f 77 20 6f 6e 6c 79 |f nil, s|how only|
|00001020| 20 6d 61 6a 6f 72 20 68 | 6f 6c 69 64 61 79 73 20 | major h|olidays |
|00001030| 66 72 6f 6d 20 74 68 65 | 20 48 65 62 72 65 77 20 |from the| Hebrew |
|00001040| 63 61 6c 65 6e 64 61 72 | 2e 0a 54 68 69 73 20 6d |calendar|..This m|
|00001050| 65 61 6e 73 20 6f 6e 6c | 79 20 74 68 6f 73 65 20 |eans onl|y those |
|00001060| 4a 65 77 69 73 68 20 68 | 6f 6c 69 64 61 79 73 20 |Jewish h|olidays |
|00001070| 74 68 61 74 20 61 70 70 | 65 61 72 20 6f 6e 20 73 |that app|ear on s|
|00001080| 65 63 75 6c 61 72 20 63 | 61 6c 65 6e 64 61 72 73 |ecular c|alendars|
|00001090| 2e 0a 0a 49 66 20 74 2c | 20 73 68 6f 77 20 61 6c |...If t,| show al|
|000010a0| 6c 20 74 68 65 20 68 6f | 6c 69 64 61 79 73 20 74 |l the ho|lidays t|
|000010b0| 68 61 74 20 77 6f 75 6c | 64 20 61 70 70 65 61 72 |hat woul|d appear|
|000010c0| 20 69 6e 20 61 20 63 6f | 6d 70 6c 65 74 65 20 48 | in a co|mplete H|
|000010d0| 65 62 72 65 77 20 63 61 | 6c 65 6e 64 61 72 2e 1f |ebrew ca|lendar..|
|000010e0| 0a 28 64 65 66 76 61 72 | 20 61 6c 6c 2d 68 65 62 |.(defvar| all-heb|
|000010f0| 72 65 77 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6c |rew-cale|ndar-hol|
|00001100| 69 64 61 79 73 20 6e 69 | 6c 20 28 23 24 20 2e 20 |idays ni|l (#$ . |
|00001110| 2d 34 31 31 30 29 29 0a | 23 40 32 32 30 20 2a 49 |-4110)).|#@220 *I|
|00001120| 66 20 6e 69 6c 2c 20 73 | 68 6f 77 20 6f 6e 6c 79 |f nil, s|how only|
|00001130| 20 6d 61 6a 6f 72 20 68 | 6f 6c 69 64 61 79 73 20 | major h|olidays |
|00001140| 66 72 6f 6d 20 74 68 65 | 20 43 68 72 69 73 74 69 |from the| Christi|
|00001150| 61 6e 20 63 61 6c 65 6e | 64 61 72 2e 0a 54 68 69 |an calen|dar..Thi|
|00001160| 73 20 6d 65 61 6e 73 20 | 6f 6e 6c 79 20 74 68 6f |s means |only tho|
|00001170| 73 65 20 43 68 72 69 73 | 74 69 61 6e 20 68 6f 6c |se Chris|tian hol|
|00001180| 69 64 61 79 73 20 74 68 | 61 74 20 61 70 70 65 61 |idays th|at appea|
|00001190| 72 20 6f 6e 20 73 65 63 | 75 6c 61 72 20 63 61 6c |r on sec|ular cal|
|000011a0| 65 6e 64 61 72 73 2e 0a | 0a 49 66 20 74 2c 20 73 |endars..|.If t, s|
|000011b0| 68 6f 77 20 61 6c 6c 20 | 74 68 65 20 68 6f 6c 69 |how all |the holi|
|000011c0| 64 61 79 73 20 74 68 61 | 74 20 77 6f 75 6c 64 20 |days tha|t would |
|000011d0| 61 70 70 65 61 72 20 69 | 6e 20 61 20 63 6f 6d 70 |appear i|n a comp|
|000011e0| 6c 65 74 65 20 43 68 72 | 69 73 74 69 61 6e 0a 63 |lete Chr|istian.c|
|000011f0| 61 6c 65 6e 64 61 72 2e | 1f 0a 28 64 65 66 76 61 |alendar.|..(defva|
|00001200| 72 20 61 6c 6c 2d 63 68 | 72 69 73 74 69 61 6e 2d |r all-ch|ristian-|
|00001210| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00001220| 73 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 34 33 38 |s nil (#|$ . -438|
|00001230| 32 29 29 0a 23 40 32 31 | 34 20 2a 49 66 20 6e 69 |2)).#@21|4 *If ni|
|00001240| 6c 2c 20 73 68 6f 77 20 | 6f 6e 6c 79 20 6d 61 6a |l, show |only maj|
|00001250| 6f 72 20 68 6f 6c 69 64 | 61 79 73 20 66 72 6f 6d |or holid|ays from|
|00001260| 20 74 68 65 20 49 73 6c | 61 6d 69 63 20 63 61 6c | the Isl|amic cal|
|00001270| 65 6e 64 61 72 2e 0a 54 | 68 69 73 20 6d 65 61 6e |endar..T|his mean|
|00001280| 73 20 6f 6e 6c 79 20 74 | 68 6f 73 65 20 49 73 6c |s only t|hose Isl|
|00001290| 61 6d 69 63 20 68 6f 6c | 69 64 61 79 73 20 74 68 |amic hol|idays th|
|000012a0| 61 74 20 61 70 70 65 61 | 72 20 6f 6e 20 73 65 63 |at appea|r on sec|
|000012b0| 75 6c 61 72 20 63 61 6c | 65 6e 64 61 72 73 2e 0a |ular cal|endars..|
|000012c0| 0a 49 66 20 74 2c 20 73 | 68 6f 77 20 61 6c 6c 20 |.If t, s|how all |
|000012d0| 74 68 65 20 68 6f 6c 69 | 64 61 79 73 20 74 68 61 |the holi|days tha|
|000012e0| 74 20 77 6f 75 6c 64 20 | 61 70 70 65 61 72 20 69 |t would |appear i|
|000012f0| 6e 20 61 20 63 6f 6d 70 | 6c 65 74 65 20 49 73 6c |n a comp|lete Isl|
|00001300| 61 6d 69 63 0a 63 61 6c | 65 6e 64 61 72 2e 1f 0a |amic.cal|endar...|
|00001310| 28 64 65 66 76 61 72 20 | 61 6c 6c 2d 69 73 6c 61 |(defvar |all-isla|
|00001320| 6d 69 63 2d 63 61 6c 65 | 6e 64 61 72 2d 68 6f 6c |mic-cale|ndar-hol|
|00001330| 69 64 61 79 73 20 6e 69 | 6c 20 28 23 24 20 2e 20 |idays ni|l (#$ . |
|00001340| 2d 34 36 36 36 29 29 0a | 23 40 31 33 31 20 2a 4c |-4666)).|#@131 *L|
|00001350| 69 73 74 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 73 |ist of f|unctions|
|00001360| 20 74 6f 20 62 65 20 63 | 61 6c 6c 65 64 20 61 66 | to be c|alled af|
|00001370| 74 65 72 20 74 68 65 20 | 63 61 6c 65 6e 64 61 72 |ter the |calendar|
|00001380| 20 69 73 20 66 69 72 73 | 74 20 6c 6f 61 64 65 64 | is firs|t loaded|
|00001390| 2e 0a 54 68 69 73 20 69 | 73 20 74 68 65 20 70 6c |..This i|s the pl|
|000013a0| 61 63 65 20 74 6f 20 61 | 64 64 20 6b 65 79 20 62 |ace to a|dd key b|
|000013b0| 69 6e 64 69 6e 67 73 20 | 74 6f 20 60 63 61 6c 65 |indings |to `cale|
|000013c0| 6e 64 61 72 2d 6d 6f 64 | 65 2d 6d 61 70 27 2e 1f |ndar-mod|e-map'..|
|000013d0| 0a 28 64 65 66 76 61 72 | 20 63 61 6c 65 6e 64 61 |.(defvar| calenda|
|000013e0| 72 2d 6c 6f 61 64 2d 68 | 6f 6f 6b 20 6e 69 6c 20 |r-load-h|ook nil |
|000013f0| 28 23 24 20 2e 20 2d 34 | 39 34 32 29 29 0a 23 40 |(#$ . -4|942)).#@|
|00001400| 32 39 32 20 2a 4c 69 73 | 74 20 6f 66 20 66 75 6e |292 *Lis|t of fun|
|00001410| 63 74 69 6f 6e 73 20 74 | 6f 20 62 65 20 63 61 6c |ctions t|o be cal|
|00001420| 6c 65 64 20 77 68 65 6e | 20 74 68 65 20 63 61 6c |led when| the cal|
|00001430| 65 6e 64 61 72 20 77 69 | 6e 64 6f 77 20 69 73 20 |endar wi|ndow is |
|00001440| 66 69 72 73 74 20 6f 70 | 65 6e 65 64 2e 0a 54 68 |first op|ened..Th|
|00001450| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 69 6e 76 6f |e functi|ons invo|
|00001460| 6b 65 64 20 61 72 65 20 | 63 61 6c 6c 65 64 20 61 |ked are |called a|
|00001470| 66 74 65 72 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |fter the| calenda|
|00001480| 72 20 77 69 6e 64 6f 77 | 20 69 73 20 6f 70 65 6e |r window| is open|
|00001490| 65 64 2c 20 62 75 74 0a | 6f 6e 63 65 20 6f 70 65 |ed, but.|once ope|
|000014a0| 6e 65 64 20 69 73 20 6e | 65 76 65 72 20 63 61 6c |ned is n|ever cal|
|000014b0| 6c 65 64 20 61 67 61 69 | 6e 2e 20 20 4c 65 61 76 |led agai|n. Leav|
|000014c0| 69 6e 67 20 74 68 65 20 | 63 61 6c 65 6e 64 61 72 |ing the |calendar|
|000014d0| 20 77 69 74 68 20 74 68 | 65 20 60 71 27 20 63 6f | with th|e `q' co|
|000014e0| 6d 6d 61 6e 64 0a 61 6e | 64 20 72 65 65 6e 74 65 |mmand.an|d reente|
|000014f0| 72 69 6e 67 20 69 74 20 | 77 69 6c 6c 20 63 61 75 |ring it |will cau|
|00001500| 73 65 20 74 68 65 73 65 | 20 66 75 6e 63 74 69 6f |se these| functio|
|00001510| 6e 73 20 74 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 |ns to be| called |
|00001520| 61 67 61 69 6e 2e 1f 0a | 28 64 65 66 76 61 72 20 |again...|(defvar |
|00001530| 69 6e 69 74 69 61 6c 2d | 63 61 6c 65 6e 64 61 72 |initial-|calendar|
|00001540| 2d 77 69 6e 64 6f 77 2d | 68 6f 6f 6b 20 6e 69 6c |-window-|hook nil|
|00001550| 20 28 23 24 20 2e 20 2d | 35 31 32 34 29 29 0a 23 | (#$ . -|5124)).#|
|00001560| 40 37 39 34 20 2a 4c 69 | 73 74 20 6f 66 20 66 75 |@794 *Li|st of fu|
|00001570| 6e 63 74 69 6f 6e 73 20 | 63 61 6c 6c 65 64 20 77 |nctions |called w|
|00001580| 68 65 6e 65 76 65 72 20 | 74 68 65 20 63 75 72 72 |henever |the curr|
|00001590| 65 6e 74 20 64 61 74 65 | 20 69 73 20 76 69 73 69 |ent date| is visi|
|000015a0| 62 6c 65 2e 0a 54 68 69 | 73 20 63 61 6e 20 62 65 |ble..Thi|s can be|
|000015b0| 20 75 73 65 64 2c 20 66 | 6f 72 20 65 78 61 6d 70 | used, f|or examp|
|000015c0| 6c 65 2c 20 74 6f 20 72 | 65 70 6c 61 63 65 20 74 |le, to r|eplace t|
|000015d0| 6f 64 61 79 27 73 20 64 | 61 74 65 20 77 69 74 68 |oday's d|ate with|
|000015e0| 20 61 73 74 65 72 69 73 | 6b 73 3b 20 61 0a 66 75 | asteris|ks; a.fu|
|000015f0| 6e 63 74 69 6f 6e 20 60 | 63 61 6c 65 6e 64 61 72 |nction `|calendar|
|00001600| 2d 73 74 61 72 2d 64 61 | 74 65 27 20 69 73 20 69 |-star-da|te' is i|
|00001610| 6e 63 6c 75 64 65 64 20 | 66 6f 72 20 74 68 69 73 |ncluded |for this|
|00001620| 20 70 75 72 70 6f 73 65 | 3a 0a 20 20 20 20 28 73 | purpose|:. (s|
|00001630| 65 74 71 20 74 6f 64 61 | 79 2d 76 69 73 69 62 6c |etq toda|y-visibl|
|00001640| 65 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6f 6b 20 |e-calend|ar-hook |
|00001650| 27 63 61 6c 65 6e 64 61 | 72 2d 73 74 61 72 2d 64 |'calenda|r-star-d|
|00001660| 61 74 65 29 0a 49 74 20 | 63 61 6e 20 61 6c 73 6f |ate).It |can also|
|00001670| 20 62 65 20 75 73 65 64 | 20 74 6f 20 6d 61 72 6b | be used| to mark|
|00001680| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 61 74 | the cur|rent dat|
|00001690| 65 20 77 69 74 68 20 60 | 63 61 6c 65 6e 64 61 72 |e with `|calendar|
|000016a0| 2d 74 6f 64 61 79 2d 6d | 61 72 6b 65 72 27 3b 0a |-today-m|arker';.|
|000016b0| 61 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 61 6c |a functi|on is al|
|000016c0| 73 6f 20 70 72 6f 76 69 | 64 65 64 20 66 6f 72 20 |so provi|ded for |
|000016d0| 74 68 69 73 3a 0a 20 20 | 20 20 28 73 65 74 71 20 |this:. | (setq |
|000016e0| 74 6f 64 61 79 2d 76 69 | 73 69 62 6c 65 2d 63 61 |today-vi|sible-ca|
|000016f0| 6c 65 6e 64 61 72 2d 68 | 6f 6f 6b 20 27 63 61 6c |lendar-h|ook 'cal|
|00001700| 65 6e 64 61 72 2d 6d 61 | 72 6b 2d 74 6f 64 61 79 |endar-ma|rk-today|
|00001710| 29 0a 0a 54 68 65 20 63 | 6f 72 72 65 73 70 6f 6e |)..The c|orrespon|
|00001720| 64 69 6e 67 20 76 61 72 | 69 61 62 6c 65 20 60 74 |ding var|iable `t|
|00001730| 6f 64 61 79 2d 69 6e 76 | 69 73 69 62 6c 65 2d 63 |oday-inv|isible-c|
|00001740| 61 6c 65 6e 64 61 72 2d | 68 6f 6f 6b 27 20 69 73 |alendar-|hook' is|
|00001750| 20 74 68 65 20 6c 69 73 | 74 20 6f 66 0a 66 75 6e | the lis|t of.fun|
|00001760| 63 74 69 6f 6e 73 20 63 | 61 6c 6c 65 64 20 77 68 |ctions c|alled wh|
|00001770| 65 6e 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 20 |en the c|alendar |
|00001780| 66 75 6e 63 74 69 6f 6e | 20 77 61 73 20 63 61 6c |function| was cal|
|00001790| 6c 65 64 20 77 68 65 6e | 20 74 68 65 20 63 75 72 |led when| the cur|
|000017a0| 72 65 6e 74 0a 64 61 74 | 65 20 69 73 20 6e 6f 74 |rent.dat|e is not|
|000017b0| 20 76 69 73 69 62 6c 65 | 20 69 6e 20 74 68 65 20 | visible| in the |
|000017c0| 77 69 6e 64 6f 77 2e 0a | 0a 4f 74 68 65 72 20 74 |window..|.Other t|
|000017d0| 68 61 6e 20 74 68 65 20 | 75 73 65 20 6f 66 20 74 |han the |use of t|
|000017e0| 68 65 20 70 72 6f 76 69 | 64 65 64 20 66 75 6e 63 |he provi|ded func|
|000017f0| 74 69 6f 6e 73 2c 20 74 | 68 65 20 63 68 61 6e 67 |tions, t|he chang|
|00001800| 69 6e 67 20 6f 66 20 61 | 6e 79 0a 63 68 61 72 61 |ing of a|ny.chara|
|00001810| 63 74 65 72 73 20 69 6e | 20 74 68 65 20 63 61 6c |cters in| the cal|
|00001820| 65 6e 64 61 72 20 62 75 | 66 66 65 72 20 62 79 20 |endar bu|ffer by |
|00001830| 74 68 65 20 68 6f 6f 6b | 73 20 6d 61 79 20 63 61 |the hook|s may ca|
|00001840| 75 73 65 20 74 68 65 20 | 66 61 69 6c 75 72 65 20 |use the |failure |
|00001850| 6f 66 20 74 68 65 0a 66 | 75 6e 63 74 69 6f 6e 73 |of the.f|unctions|
|00001860| 20 74 68 61 74 20 6d 6f | 76 65 20 62 79 20 64 61 | that mo|ve by da|
|00001870| 79 73 20 61 6e 64 20 77 | 65 65 6b 73 2e 1f 0a 28 |ys and w|eeks...(|
|00001880| 64 65 66 76 61 72 20 74 | 6f 64 61 79 2d 76 69 73 |defvar t|oday-vis|
|00001890| 69 62 6c 65 2d 63 61 6c | 65 6e 64 61 72 2d 68 6f |ible-cal|endar-ho|
|000018a0| 6f 6b 20 6e 69 6c 20 28 | 23 24 20 2e 20 2d 35 34 |ok nil (|#$ . -54|
|000018b0| 37 37 29 29 0a 23 40 34 | 32 37 20 2a 4c 69 73 74 |77)).#@4|27 *List|
|000018c0| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 63 61 | of func|tions ca|
|000018d0| 6c 6c 65 64 20 77 68 65 | 6e 65 76 65 72 20 74 68 |lled whe|never th|
|000018e0| 65 20 63 75 72 72 65 6e | 74 20 64 61 74 65 20 69 |e curren|t date i|
|000018f0| 73 20 6e 6f 74 20 76 69 | 73 69 62 6c 65 2e 0a 0a |s not vi|sible...|
|00001900| 54 68 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |The corr|espondin|
|00001910| 67 20 76 61 72 69 61 62 | 6c 65 20 60 74 6f 64 61 |g variab|le `toda|
|00001920| 79 2d 76 69 73 69 62 6c | 65 2d 63 61 6c 65 6e 64 |y-visibl|e-calend|
|00001930| 61 72 2d 68 6f 6f 6b 27 | 20 69 73 20 74 68 65 20 |ar-hook'| is the |
|00001940| 6c 69 73 74 20 6f 66 0a | 66 75 6e 63 74 69 6f 6e |list of.|function|
|00001950| 73 20 63 61 6c 6c 65 64 | 20 77 68 65 6e 20 74 68 |s called| when th|
|00001960| 65 20 63 61 6c 65 6e 64 | 61 72 20 66 75 6e 63 74 |e calend|ar funct|
|00001970| 69 6f 6e 20 77 61 73 20 | 63 61 6c 6c 65 64 20 77 |ion was |called w|
|00001980| 68 65 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 0a |hen the |current.|
|00001990| 64 61 74 65 20 69 73 20 | 76 69 73 69 62 6c 65 20 |date is |visible |
|000019a0| 69 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 2e 0a 0a |in the w|indow...|
|000019b0| 4f 74 68 65 72 20 74 68 | 61 6e 20 74 68 65 20 75 |Other th|an the u|
|000019c0| 73 65 20 6f 66 20 74 68 | 65 20 70 72 6f 76 69 64 |se of th|e provid|
|000019d0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 73 2c 20 74 68 |ed funct|ions, th|
|000019e0| 65 20 63 68 61 6e 67 69 | 6e 67 20 6f 66 20 61 6e |e changi|ng of an|
|000019f0| 79 0a 63 68 61 72 61 63 | 74 65 72 73 20 69 6e 20 |y.charac|ters in |
|00001a00| 74 68 65 20 63 61 6c 65 | 6e 64 61 72 20 62 75 66 |the cale|ndar buf|
|00001a10| 66 65 72 20 62 79 20 74 | 68 65 20 68 6f 6f 6b 73 |fer by t|he hooks|
|00001a20| 20 6d 61 79 20 63 61 75 | 73 65 20 74 68 65 20 66 | may cau|se the f|
|00001a30| 61 69 6c 75 72 65 20 6f | 66 20 74 68 65 0a 66 75 |ailure o|f the.fu|
|00001a40| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 6d 6f 76 |nctions |that mov|
|00001a50| 65 20 62 79 20 64 61 79 | 73 20 61 6e 64 20 77 65 |e by day|s and we|
|00001a60| 65 6b 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 74 6f |eks...(d|efvar to|
|00001a70| 64 61 79 2d 69 6e 76 69 | 73 69 62 6c 65 2d 63 61 |day-invi|sible-ca|
|00001a80| 6c 65 6e 64 61 72 2d 68 | 6f 6f 6b 20 6e 69 6c 20 |lendar-h|ook nil |
|00001a90| 28 23 24 20 2e 20 2d 36 | 33 33 31 29 29 0a 23 40 |(#$ . -6|331)).#@|
|00001aa0| 34 31 30 31 20 2a 4e 61 | 6d 65 20 6f 66 20 74 68 |4101 *Na|me of th|
|00001ab0| 65 20 66 69 6c 65 20 69 | 6e 20 77 68 69 63 68 20 |e file i|n which |
|00001ac0| 6f 6e 65 27 73 20 70 65 | 72 73 6f 6e 61 6c 20 64 |one's pe|rsonal d|
|00001ad0| 69 61 72 79 20 6f 66 20 | 64 61 74 65 73 20 69 73 |iary of |dates is|
|00001ae0| 20 6b 65 70 74 2e 0a 0a | 54 68 65 20 66 69 6c 65 | kept...|The file|
|00001af0| 27 73 20 65 6e 74 72 69 | 65 73 20 61 72 65 20 6c |'s entri|es are l|
|00001b00| 69 6e 65 73 20 69 6e 20 | 61 6e 79 20 6f 66 20 74 |ines in |any of t|
|00001b10| 68 65 20 66 6f 72 6d 73 | 0a 0a 20 20 20 20 20 20 |he forms|.. |
|00001b20| 20 20 20 20 20 20 4d 4f | 4e 54 48 2f 44 41 59 0a | MO|NTH/DAY.|
|00001b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 4e 54 | | MONT|
|00001b40| 48 2f 44 41 59 2f 59 45 | 41 52 0a 20 20 20 20 20 |H/DAY/YE|AR. |
|00001b50| 20 20 20 20 20 20 20 4d | 4f 4e 54 48 4e 41 4d 45 | M|ONTHNAME|
|00001b60| 20 44 41 59 0a 20 20 20 | 20 20 20 20 20 20 20 20 | DAY. | |
|00001b70| 20 4d 4f 4e 54 48 4e 41 | 4d 45 20 44 41 59 2c 20 | MONTHNA|ME DAY, |
|00001b80| 59 45 41 52 0a 20 20 20 | 20 20 20 20 20 20 20 20 |YEAR. | |
|00001b90| 20 44 41 59 4e 41 4d 45 | 0a 0a 61 74 20 74 68 65 | DAYNAME|..at the|
|00001ba0| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 74 68 | beginni|ng of th|
|00001bb0| 65 20 6c 69 6e 65 3b 20 | 74 68 65 20 72 65 6d 61 |e line; |the rema|
|00001bc0| 69 6e 64 65 72 20 6f 66 | 20 74 68 65 20 6c 69 6e |inder of| the lin|
|00001bd0| 65 20 69 73 20 74 68 65 | 20 64 69 61 72 79 20 65 |e is the| diary e|
|00001be0| 6e 74 72 79 0a 73 74 72 | 69 6e 67 20 66 6f 72 20 |ntry.str|ing for |
|00001bf0| 74 68 61 74 20 64 61 74 | 65 2e 20 20 4d 4f 4e 54 |that dat|e. MONT|
|00001c00| 48 20 61 6e 64 20 44 41 | 59 20 61 72 65 20 6f 6e |H and DA|Y are on|
|00001c10| 65 20 6f 72 20 74 77 6f | 20 64 69 67 69 74 20 6e |e or two| digit n|
|00001c20| 75 6d 62 65 72 73 2c 20 | 59 45 41 52 20 69 73 0a |umbers, |YEAR is.|
|00001c30| 61 20 6e 75 6d 62 65 72 | 20 61 6e 64 20 6d 61 79 |a number| and may|
|00001c40| 20 62 65 20 77 72 69 74 | 74 65 6e 20 69 6e 20 66 | be writ|ten in f|
|00001c50| 75 6c 6c 20 6f 72 20 61 | 62 62 72 65 76 69 61 74 |ull or a|bbreviat|
|00001c60| 65 64 20 74 6f 20 74 68 | 65 20 66 69 6e 61 6c 20 |ed to th|e final |
|00001c70| 74 77 6f 20 64 69 67 69 | 74 73 2e 0a 49 66 20 74 |two digi|ts..If t|
|00001c80| 68 65 20 64 61 74 65 20 | 64 6f 65 73 20 6e 6f 74 |he date |does not|
|00001c90| 20 63 6f 6e 74 61 69 6e | 20 61 20 79 65 61 72 2c | contain| a year,|
|00001ca0| 20 69 74 20 69 73 20 67 | 65 6e 65 72 69 63 20 61 | it is g|eneric a|
|00001cb0| 6e 64 20 61 70 70 6c 69 | 65 73 20 74 6f 20 61 6e |nd appli|es to an|
|00001cc0| 79 20 79 65 61 72 2e 0a | 44 41 59 4e 41 4d 45 20 |y year..|DAYNAME |
|00001cd0| 65 6e 74 72 69 65 73 20 | 61 70 70 6c 79 20 74 6f |entries |apply to|
|00001ce0| 20 61 6e 79 20 64 61 74 | 65 20 6f 6e 20 77 68 69 | any dat|e on whi|
|00001cf0| 63 68 20 69 73 20 6f 6e | 20 74 68 61 74 20 64 61 |ch is on| that da|
|00001d00| 79 20 6f 66 20 74 68 65 | 20 77 65 65 6b 2e 0a 4d |y of the| week..M|
|00001d10| 4f 4e 54 48 4e 41 4d 45 | 20 61 6e 64 20 44 41 59 |ONTHNAME| and DAY|
|00001d20| 4e 41 4d 45 20 63 61 6e | 20 62 65 20 73 70 65 6c |NAME can| be spel|
|00001d30| 6c 65 64 20 69 6e 20 66 | 75 6c 6c 2c 20 61 62 62 |led in f|ull, abb|
|00001d40| 72 65 76 69 61 74 65 64 | 20 74 6f 20 74 68 72 65 |reviated| to thre|
|00001d50| 65 0a 63 68 61 72 61 63 | 74 65 72 73 20 28 77 69 |e.charac|ters (wi|
|00001d60| 74 68 20 6f 72 20 77 69 | 74 68 6f 75 74 20 61 20 |th or wi|thout a |
|00001d70| 70 65 72 69 6f 64 29 2c | 20 63 61 70 69 74 61 6c |period),| capital|
|00001d80| 69 7a 65 64 20 6f 72 20 | 6e 6f 74 2e 20 20 41 6e |ized or |not. An|
|00001d90| 79 20 6f 66 20 44 41 59 | 2c 0a 4d 4f 4e 54 48 2c |y of DAY|,.MONTH,|
|00001da0| 20 6f 72 20 4d 4f 4e 54 | 48 4e 41 4d 45 2c 20 59 | or MONT|HNAME, Y|
|00001db0| 45 41 52 20 63 61 6e 20 | 62 65 20 60 2a 27 20 77 |EAR can |be `*' w|
|00001dc0| 68 69 63 68 20 6d 61 74 | 63 68 65 73 20 61 6e 79 |hich mat|ches any|
|00001dd0| 20 64 61 79 2c 20 6d 6f | 6e 74 68 2c 20 6f 72 20 | day, mo|nth, or |
|00001de0| 79 65 61 72 2c 0a 72 65 | 73 70 65 63 74 69 76 65 |year,.re|spective|
|00001df0| 6c 79 2e 0a 0a 54 68 65 | 20 45 75 72 6f 70 65 61 |ly...The| Europea|
|00001e00| 6e 20 73 74 79 6c 65 20 | 28 69 6e 20 77 68 69 63 |n style |(in whic|
|00001e10| 68 20 74 68 65 20 64 61 | 79 20 70 72 65 63 65 64 |h the da|y preced|
|00001e20| 65 73 20 74 68 65 20 6d | 6f 6e 74 68 29 20 63 61 |es the m|onth) ca|
|00001e30| 6e 20 62 65 20 75 73 65 | 64 0a 69 6e 73 74 65 61 |n be use|d.instea|
|00001e40| 64 2c 20 69 66 20 79 6f | 75 20 65 78 65 63 75 74 |d, if yo|u execut|
|00001e50| 65 20 60 65 75 72 6f 70 | 65 61 6e 2d 63 61 6c 65 |e `europ|ean-cale|
|00001e60| 6e 64 61 72 27 20 77 68 | 65 6e 20 69 6e 20 74 68 |ndar' wh|en in th|
|00001e70| 65 20 63 61 6c 65 6e 64 | 61 72 2c 20 6f 72 20 73 |e calend|ar, or s|
|00001e80| 65 74 0a 60 65 75 72 6f | 70 65 61 6e 2d 63 61 6c |et.`euro|pean-cal|
|00001e90| 65 6e 64 61 72 2d 73 74 | 79 6c 65 27 20 74 6f 20 |endar-st|yle' to |
|00001ea0| 74 20 69 6e 20 79 6f 75 | 72 20 2e 65 6d 61 63 73 |t in you|r .emacs|
|00001eb0| 20 66 69 6c 65 2e 20 20 | 54 68 65 20 45 75 72 6f | file. |The Euro|
|00001ec0| 70 65 61 6e 20 66 6f 72 | 6d 73 20 61 72 65 0a 0a |pean for|ms are..|
|00001ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 41 59 2f | | DAY/|
|00001ee0| 4d 4f 4e 54 48 0a 20 20 | 20 20 20 20 20 20 20 20 |MONTH. | |
|00001ef0| 20 20 44 41 59 2f 4d 4f | 4e 54 48 2f 59 45 41 52 | DAY/MO|NTH/YEAR|
|00001f00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 44 41 59 |. | DAY|
|00001f10| 20 4d 4f 4e 54 48 4e 41 | 4d 45 0a 20 20 20 20 20 | MONTHNA|ME. |
|00001f20| 20 20 20 20 20 20 20 44 | 41 59 20 4d 4f 4e 54 48 | D|AY MONTH|
|00001f30| 4e 41 4d 45 20 59 45 41 | 52 0a 20 20 20 20 20 20 |NAME YEA|R. |
|00001f40| 20 20 20 20 20 20 44 41 | 59 4e 41 4d 45 0a 0a 54 | DA|YNAME..T|
|00001f50| 6f 20 72 65 76 65 72 74 | 20 74 6f 20 74 68 65 20 |o revert| to the |
|00001f60| 64 65 66 61 75 6c 74 20 | 41 6d 65 72 69 63 61 6e |default |American|
|00001f70| 20 73 74 79 6c 65 20 66 | 72 6f 6d 20 74 68 65 20 | style f|rom the |
|00001f80| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 2c 20 |European| style, |
|00001f90| 65 78 65 63 75 74 65 0a | 60 61 6d 65 72 69 63 61 |execute.|`america|
|00001fa0| 6e 2d 63 61 6c 65 6e 64 | 61 72 27 20 69 6e 20 74 |n-calend|ar' in t|
|00001fb0| 68 65 20 63 61 6c 65 6e | 64 61 72 2e 0a 0a 41 20 |he calen|dar...A |
|00001fc0| 64 69 61 72 79 20 65 6e | 74 72 79 20 63 61 6e 20 |diary en|try can |
|00001fd0| 62 65 20 70 72 65 63 65 | 64 65 64 20 62 79 20 74 |be prece|ded by t|
|00001fe0| 68 65 20 63 68 61 72 61 | 63 74 65 72 0a 60 64 69 |he chara|cter.`di|
|00001ff0| 61 72 79 2d 6e 6f 6e 6d | 61 72 6b 69 6e 67 2d 73 |ary-nonm|arking-s|
|00002000| 79 6d 62 6f 6c 27 20 28 | 6f 72 64 69 6e 61 72 69 |ymbol' (|ordinari|
|00002010| 6c 79 20 60 26 27 29 20 | 74 6f 20 6d 61 6b 65 20 |ly `&') |to make |
|00002020| 74 68 61 74 20 65 6e 74 | 72 79 0a 6e 6f 6e 6d 61 |that ent|ry.nonma|
|00002030| 72 6b 69 6e 67 2d 2d 74 | 68 61 74 20 69 73 2c 20 |rking--t|hat is, |
|00002040| 69 74 20 77 69 6c 6c 20 | 6e 6f 74 20 62 65 20 6d |it will |not be m|
|00002050| 61 72 6b 65 64 20 6f 6e | 20 64 61 74 65 73 20 69 |arked on| dates i|
|00002060| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 0a 77 |n the ca|lendar.w|
|00002070| 69 6e 64 6f 77 20 62 75 | 74 20 77 69 6c 6c 20 61 |indow bu|t will a|
|00002080| 70 70 65 61 72 20 69 6e | 20 61 20 64 69 61 72 79 |ppear in| a diary|
|00002090| 20 77 69 6e 64 6f 77 2e | 0a 0a 4d 75 6c 74 69 6c | window.|..Multil|
|000020a0| 69 6e 65 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |ine diar|y entrie|
|000020b0| 73 20 61 72 65 20 6d 61 | 64 65 20 62 79 20 69 6e |s are ma|de by in|
|000020c0| 64 65 6e 74 69 6e 67 20 | 6c 69 6e 65 73 20 61 66 |denting |lines af|
|000020d0| 74 65 72 20 74 68 65 20 | 66 69 72 73 74 20 77 69 |ter the |first wi|
|000020e0| 74 68 0a 65 69 74 68 65 | 72 20 61 20 54 41 42 20 |th.eithe|r a TAB |
|000020f0| 6f 72 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 73 |or one o|r more s|
|00002100| 70 61 63 65 73 2e 0a 0a | 4c 69 6e 65 73 20 6e 6f |paces...|Lines no|
|00002110| 74 20 69 6e 20 6f 6e 65 | 20 74 68 65 20 61 62 6f |t in one| the abo|
|00002120| 76 65 20 66 6f 72 6d 61 | 74 73 20 61 72 65 20 69 |ve forma|ts are i|
|00002130| 67 6e 6f 72 65 64 2e 20 | 20 48 65 72 65 20 61 72 |gnored. | Here ar|
|00002140| 65 20 73 6f 6d 65 20 73 | 61 6d 70 6c 65 20 64 69 |e some s|ample di|
|00002150| 61 72 79 0a 65 6e 74 72 | 69 65 73 20 28 69 6e 20 |ary.entr|ies (in |
|00002160| 74 68 65 20 64 65 66 61 | 75 6c 74 20 41 6d 65 72 |the defa|ult Amer|
|00002170| 69 63 61 6e 20 73 74 79 | 6c 65 29 3a 0a 0a 20 20 |ican sty|le):.. |
|00002180| 20 20 20 31 32 2f 32 32 | 2f 31 39 38 38 20 54 77 | 12/22|/1988 Tw|
|00002190| 65 6e 74 69 65 74 68 20 | 77 65 64 64 69 6e 67 20 |entieth |wedding |
|000021a0| 61 6e 6e 69 76 65 72 73 | 61 72 79 21 21 0a 20 20 |annivers|ary!!. |
|000021b0| 20 20 20 26 31 2f 31 2e | 20 48 61 70 70 79 20 4e | &1/1.| Happy N|
|000021c0| 65 77 20 59 65 61 72 21 | 0a 20 20 20 20 20 31 30 |ew Year!|. 10|
|000021d0| 2f 32 32 20 52 75 74 68 | 27 73 20 62 69 72 74 68 |/22 Ruth|'s birth|
|000021e0| 64 61 79 2e 0a 20 20 20 | 20 20 32 31 3a 20 50 61 |day.. | 21: Pa|
|000021f0| 79 64 61 79 0a 20 20 20 | 20 20 54 75 65 73 64 61 |yday. | Tuesda|
|00002200| 79 2d 2d 77 65 65 6b 6c | 79 20 6d 65 65 74 69 6e |y--weekl|y meetin|
|00002210| 67 20 77 69 74 68 20 67 | 72 61 64 20 73 74 75 64 |g with g|rad stud|
|00002220| 65 6e 74 73 20 61 74 20 | 31 30 61 6d 0a 20 20 20 |ents at |10am. |
|00002230| 20 20 20 20 20 20 20 20 | 20 20 20 53 75 70 6f 77 | | Supow|
|00002240| 69 74 2c 20 53 68 65 6e | 2c 20 42 69 74 6e 65 72 |it, Shen|, Bitner|
|00002250| 2c 20 61 6e 64 20 4b 61 | 70 6f 6f 72 20 74 6f 20 |, and Ka|poor to |
|00002260| 61 74 74 65 6e 64 2e 0a | 20 20 20 20 20 31 2f 31 |attend..| 1/1|
|00002270| 33 2f 38 39 20 46 72 69 | 64 61 79 20 74 68 65 20 |3/89 Fri|day the |
|00002280| 74 68 69 72 74 65 65 6e | 74 68 21 21 0a 20 20 20 |thirteen|th!!. |
|00002290| 20 20 26 74 68 75 20 34 | 70 6d 20 73 71 75 61 73 | &thu 4|pm squas|
|000022a0| 68 20 67 61 6d 65 20 77 | 69 74 68 20 4c 6c 6f 79 |h game w|ith Lloy|
|000022b0| 64 2e 0a 20 20 20 20 20 | 6d 61 72 20 31 36 20 44 |d.. |mar 16 D|
|000022c0| 61 64 27 73 20 62 69 72 | 74 68 64 61 79 0a 20 20 |ad's bir|thday. |
|000022d0| 20 20 20 41 70 72 69 6c | 20 31 35 2c 20 31 39 38 | April| 15, 198|
|000022e0| 39 20 49 6e 63 6f 6d 65 | 20 74 61 78 20 64 75 65 |9 Income| tax due|
|000022f0| 2e 0a 20 20 20 20 20 26 | 2a 20 31 35 20 74 69 6d |.. &|* 15 tim|
|00002300| 65 20 63 61 72 64 73 20 | 64 75 65 2e 0a 0a 49 66 |e cards |due...If|
|00002310| 20 74 68 65 20 66 69 72 | 73 74 20 6c 69 6e 65 20 | the fir|st line |
|00002320| 6f 66 20 61 20 64 69 61 | 72 79 20 65 6e 74 72 79 |of a dia|ry entry|
|00002330| 20 63 6f 6e 73 69 73 74 | 73 20 6f 6e 6c 79 20 6f | consist|s only o|
|00002340| 66 20 74 68 65 20 64 61 | 74 65 20 6f 72 20 64 61 |f the da|te or da|
|00002350| 79 20 6e 61 6d 65 20 77 | 69 74 68 0a 6e 6f 20 74 |y name w|ith.no t|
|00002360| 72 61 69 6c 69 6e 67 20 | 62 6c 61 6e 6b 73 20 6f |railing |blanks o|
|00002370| 72 20 70 75 6e 63 74 75 | 61 74 69 6f 6e 2c 20 74 |r punctu|ation, t|
|00002380| 68 65 6e 20 74 68 61 74 | 20 6c 69 6e 65 20 69 73 |hen that| line is|
|00002390| 20 6e 6f 74 20 64 69 73 | 70 6c 61 79 65 64 20 69 | not dis|played i|
|000023a0| 6e 20 74 68 65 0a 64 69 | 61 72 79 20 77 69 6e 64 |n the.di|ary wind|
|000023b0| 6f 77 3b 20 6f 6e 6c 79 | 20 74 68 65 20 63 6f 6e |ow; only| the con|
|000023c0| 74 69 6e 75 61 74 69 6f | 6e 20 6c 69 6e 65 73 20 |tinuatio|n lines |
|000023d0| 69 73 20 73 68 6f 77 6e | 2e 20 20 46 6f 72 20 65 |is shown|. For e|
|000023e0| 78 61 6d 70 6c 65 2c 20 | 74 68 65 0a 73 69 6e 67 |xample, |the.sing|
|000023f0| 6c 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 0a 0a |le diary| entry..|
|00002400| 20 20 20 20 20 30 32 2f | 31 31 2f 31 39 38 39 0a | 02/|11/1989.|
|00002410| 20 20 20 20 20 20 42 69 | 6c 6c 20 42 6c 61 74 74 | Bi|ll Blatt|
|00002420| 6e 65 72 20 76 69 73 69 | 74 73 20 50 72 69 6e 63 |ner visi|ts Princ|
|00002430| 65 74 6f 6e 20 74 6f 64 | 61 79 0a 20 20 20 20 20 |eton tod|ay. |
|00002440| 20 32 70 6d 20 43 6f 67 | 6e 69 74 69 76 65 20 53 | 2pm Cog|nitive S|
|00002450| 74 75 64 69 65 73 20 43 | 6f 6d 6d 69 74 74 65 65 |tudies C|ommittee|
|00002460| 20 6d 65 65 74 69 6e 67 | 0a 20 20 20 20 20 20 32 | meeting|. 2|
|00002470| 3a 33 30 2d 35 3a 33 30 | 20 4c 69 7a 7a 69 65 20 |:30-5:30| Lizzie |
|00002480| 61 74 20 4c 61 77 72 65 | 6e 63 65 76 69 6c 6c 65 |at Lawre|nceville|
|00002490| 20 66 6f 72 20 60 47 72 | 6f 75 70 20 49 6e 69 74 | for `Gr|oup Init|
|000024a0| 69 61 74 69 76 65 27 0a | 20 20 20 20 20 20 34 3a |iative'.| 4:|
|000024b0| 30 30 70 6d 20 4a 61 6d | 69 65 20 54 61 70 70 65 |00pm Jam|ie Tappe|
|000024c0| 6e 64 65 6e 0a 20 20 20 | 20 20 20 37 3a 33 30 70 |nden. | 7:30p|
|000024d0| 6d 20 44 69 6e 6e 65 72 | 20 61 74 20 47 65 6f 72 |m Dinner| at Geor|
|000024e0| 67 65 20 61 6e 64 20 45 | 64 27 73 20 66 6f 72 20 |ge and E|d's for |
|000024f0| 41 6c 61 6e 20 52 79 61 | 6e 0a 20 20 20 20 20 20 |Alan Rya|n. |
|00002500| 37 3a 33 30 2d 31 30 3a | 30 30 70 6d 20 64 61 6e |7:30-10:|00pm dan|
|00002510| 63 65 20 61 74 20 53 74 | 65 77 61 72 74 20 43 6f |ce at St|ewart Co|
|00002520| 75 6e 74 72 79 20 44 61 | 79 20 53 63 68 6f 6f 6c |untry Da|y School|
|00002530| 0a 0a 77 69 6c 6c 20 61 | 70 70 65 61 72 20 69 6e |..will a|ppear in|
|00002540| 20 74 68 65 20 64 69 61 | 72 79 20 77 69 6e 64 6f | the dia|ry windo|
|00002550| 77 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 64 61 |w withou|t the da|
|00002560| 74 65 20 6c 69 6e 65 20 | 61 74 20 74 68 65 20 62 |te line |at the b|
|00002570| 65 67 69 6e 6e 69 6e 67 | 2e 20 20 54 68 69 73 0a |eginning|. This.|
|00002580| 66 61 63 69 6c 69 74 79 | 20 61 6c 6c 6f 77 73 20 |facility| allows |
|00002590| 74 68 65 20 64 69 61 72 | 79 20 77 69 6e 64 6f 77 |the diar|y window|
|000025a0| 20 74 6f 20 6c 6f 6f 6b | 20 6e 65 61 74 65 72 2c | to look| neater,|
|000025b0| 20 62 75 74 20 63 61 6e | 20 63 61 75 73 65 20 63 | but can| cause c|
|000025c0| 6f 6e 66 75 73 69 6f 6e | 20 69 66 0a 75 73 65 64 |onfusion| if.used|
|000025d0| 20 77 69 74 68 20 6d 6f | 72 65 20 74 68 61 6e 20 | with mo|re than |
|000025e0| 6f 6e 65 20 64 61 79 27 | 73 20 65 6e 74 72 69 65 |one day'|s entrie|
|000025f0| 73 20 64 69 73 70 6c 61 | 79 65 64 2e 0a 0a 44 69 |s displa|yed...Di|
|00002600| 61 72 79 20 65 6e 74 72 | 69 65 73 20 63 61 6e 20 |ary entr|ies can |
|00002610| 62 65 20 62 61 73 65 64 | 20 6f 6e 20 4c 69 73 70 |be based| on Lisp|
|00002620| 20 73 65 78 70 73 2e 20 | 20 46 6f 72 20 65 78 61 | sexps. | For exa|
|00002630| 6d 70 6c 65 2c 20 74 68 | 65 20 64 69 61 72 79 20 |mple, th|e diary |
|00002640| 65 6e 74 72 79 0a 0a 20 | 20 20 20 20 20 25 25 28 |entry.. | %%(|
|00002650| 64 69 61 72 79 2d 62 6c | 6f 63 6b 20 31 31 20 31 |diary-bl|ock 11 1|
|00002660| 20 31 39 39 30 20 31 31 | 20 31 30 20 31 39 39 30 | 1990 11| 10 1990|
|00002670| 29 20 56 61 63 61 74 69 | 6f 6e 0a 0a 63 61 75 73 |) Vacati|on..caus|
|00002680| 65 73 20 74 68 65 20 64 | 69 61 72 79 20 65 6e 74 |es the d|iary ent|
|00002690| 72 79 20 22 56 61 63 61 | 74 69 6f 6e 22 20 74 6f |ry "Vaca|tion" to|
|000026a0| 20 61 70 70 65 61 72 20 | 66 72 6f 6d 20 4e 6f 76 | appear |from Nov|
|000026b0| 65 6d 62 65 72 20 31 20 | 74 68 72 6f 75 67 68 20 |ember 1 |through |
|000026c0| 4e 6f 76 65 6d 62 65 72 | 0a 31 30 2c 20 31 39 39 |November|.10, 199|
|000026d0| 30 2e 20 20 4f 74 68 65 | 72 20 66 75 6e 63 74 69 |0. Othe|r functi|
|000026e0| 6f 6e 73 20 61 76 61 69 | 6c 61 62 6c 65 20 61 72 |ons avai|lable ar|
|000026f0| 65 20 60 64 69 61 72 79 | 2d 66 6c 6f 61 74 27 2c |e `diary|-float',|
|00002700| 20 60 64 69 61 72 79 2d | 61 6e 6e 69 76 65 72 73 | `diary-|annivers|
|00002710| 61 72 79 27 2c 0a 60 64 | 69 61 72 79 2d 63 79 63 |ary',.`d|iary-cyc|
|00002720| 6c 69 63 27 2c 20 60 64 | 69 61 72 79 2d 64 61 79 |lic', `d|iary-day|
|00002730| 2d 6f 66 2d 79 65 61 72 | 27 2c 20 60 64 69 61 72 |-of-year|', `diar|
|00002740| 79 2d 69 73 6f 2d 64 61 | 74 65 27 2c 20 60 64 69 |y-iso-da|te', `di|
|00002750| 61 72 79 2d 66 72 65 6e | 63 68 2d 64 61 74 65 27 |ary-fren|ch-date'|
|00002760| 2c 0a 60 64 69 61 72 79 | 2d 68 65 62 72 65 77 2d |,.`diary|-hebrew-|
|00002770| 64 61 74 65 27 2c 20 60 | 64 69 61 72 79 2d 69 73 |date', `|diary-is|
|00002780| 6c 61 6d 69 63 2d 64 61 | 74 65 27 2c 20 60 64 69 |lamic-da|te', `di|
|00002790| 61 72 79 2d 6d 61 79 61 | 6e 2d 64 61 74 65 27 2c |ary-maya|n-date',|
|000027a0| 0a 60 64 69 61 72 79 2d | 63 68 69 6e 65 73 65 2d |.`diary-|chinese-|
|000027b0| 64 61 74 65 27 2c 20 60 | 64 69 61 72 79 2d 63 6f |date', `|diary-co|
|000027c0| 70 74 69 63 2d 64 61 74 | 65 27 2c 20 60 64 69 61 |ptic-dat|e', `dia|
|000027d0| 72 79 2d 65 74 68 69 6f | 70 69 63 2d 64 61 74 65 |ry-ethio|pic-date|
|000027e0| 27 2c 0a 60 64 69 61 72 | 79 2d 70 65 72 73 69 61 |',.`diar|y-persia|
|000027f0| 6e 2d 64 61 74 65 27 2c | 20 60 64 69 61 72 79 2d |n-date',| `diary-|
|00002800| 79 61 68 72 7a 65 69 74 | 27 2c 20 60 64 69 61 72 |yahrzeit|', `diar|
|00002810| 79 2d 73 75 6e 72 69 73 | 65 2d 73 75 6e 73 65 74 |y-sunris|e-sunset|
|00002820| 27 2c 0a 60 64 69 61 72 | 79 2d 70 68 61 73 65 73 |',.`diar|y-phases|
|00002830| 2d 6f 66 2d 6d 6f 6f 6e | 27 2c 20 60 64 69 61 72 |-of-moon|', `diar|
|00002840| 79 2d 70 61 72 61 73 68 | 61 27 2c 20 60 64 69 61 |y-parash|a', `dia|
|00002850| 72 79 2d 6f 6d 65 72 27 | 2c 20 60 64 69 61 72 79 |ry-omer'|, `diary|
|00002860| 2d 72 6f 73 68 2d 68 6f | 64 65 73 68 27 2c 0a 61 |-rosh-ho|desh',.a|
|00002870| 6e 64 20 60 64 69 61 72 | 79 2d 73 61 62 62 61 74 |nd `diar|y-sabbat|
|00002880| 68 2d 63 61 6e 64 6c 65 | 73 27 2e 20 20 53 65 65 |h-candle|s'. See|
|00002890| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|000028a0| 6f 6e 20 66 6f 72 20 74 | 68 65 20 66 75 6e 63 74 |on for t|he funct|
|000028b0| 69 6f 6e 0a 60 6c 69 73 | 74 2d 73 65 78 70 2d 64 |ion.`lis|t-sexp-d|
|000028c0| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 27 20 66 6f |iary-ent|ries' fo|
|000028d0| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0a |r more d|etails..|
|000028e0| 0a 44 69 61 72 79 20 65 | 6e 74 72 69 65 73 20 62 |.Diary e|ntries b|
|000028f0| 61 73 65 64 20 6f 6e 20 | 74 68 65 20 48 65 62 72 |ased on |the Hebr|
|00002900| 65 77 20 61 6e 64 2f 6f | 72 20 74 68 65 20 49 73 |ew and/o|r the Is|
|00002910| 6c 61 6d 69 63 20 63 61 | 6c 65 6e 64 61 72 20 61 |lamic ca|lendar a|
|00002920| 72 65 20 61 6c 73 6f 0a | 70 6f 73 73 69 62 6c 65 |re also.|possible|
|00002930| 2c 20 62 75 74 20 62 65 | 63 61 75 73 65 20 74 68 |, but be|cause th|
|00002940| 65 73 65 20 61 72 65 20 | 73 6f 6d 65 77 68 61 74 |ese are |somewhat|
|00002950| 20 73 6c 6f 77 2c 20 74 | 68 65 79 20 61 72 65 20 | slow, t|hey are |
|00002960| 69 67 6e 6f 72 65 64 0a | 75 6e 6c 65 73 73 20 79 |ignored.|unless y|
|00002970| 6f 75 20 73 65 74 20 74 | 68 65 20 60 6e 6f 6e 67 |ou set t|he `nong|
|00002980| 72 65 67 6f 72 69 61 6e | 2d 64 69 61 72 79 2d 6c |regorian|-diary-l|
|00002990| 69 73 74 69 6e 67 2d 68 | 6f 6f 6b 27 20 61 6e 64 |isting-h|ook' and|
|000029a0| 20 74 68 65 0a 60 6e 6f | 6e 67 72 65 67 6f 72 69 | the.`no|ngregori|
|000029b0| 61 6e 2d 64 69 61 72 79 | 2d 6d 61 72 6b 69 6e 67 |an-diary|-marking|
|000029c0| 2d 68 6f 6f 6b 27 20 61 | 70 70 72 6f 70 72 69 61 |-hook' a|ppropria|
|000029d0| 74 65 6c 79 2e 20 20 53 | 65 65 20 74 68 65 20 64 |tely. S|ee the d|
|000029e0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 0a 66 6f 72 |ocumenta|tion.for|
|000029f0| 20 74 68 65 73 65 20 66 | 75 6e 63 74 69 6f 6e 73 | these f|unctions|
|00002a00| 20 66 6f 72 20 64 65 74 | 61 69 6c 73 2e 0a 0a 44 | for det|ails...D|
|00002a10| 69 61 72 79 20 66 69 6c | 65 73 20 63 61 6e 20 63 |iary fil|es can c|
|00002a20| 6f 6e 74 61 69 6e 20 64 | 69 72 65 63 74 69 76 65 |ontain d|irective|
|00002a30| 73 20 74 6f 20 69 6e 63 | 6c 75 64 65 20 74 68 65 |s to inc|lude the|
|00002a40| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 6f 74 68 | content|s of oth|
|00002a50| 65 72 20 66 69 6c 65 73 | 3b 20 66 6f 72 0a 64 65 |er files|; for.de|
|00002a60| 74 61 69 6c 73 2c 20 73 | 65 65 20 74 68 65 20 64 |tails, s|ee the d|
|00002a70| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00002a80| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 60 6c | the var|iable `l|
|00002a90| 69 73 74 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ist-diar|y-entrie|
|00002aa0| 73 2d 68 6f 6f 6b 27 2e | 1f 0a 28 64 65 66 76 61 |s-hook'.|..(defva|
|00002ab0| 72 20 64 69 61 72 79 2d | 66 69 6c 65 20 22 7e 2f |r diary-|file "~/|
|00002ac0| 64 69 61 72 79 22 20 28 | 23 24 20 2e 20 2d 36 38 |diary" (|#$ . -68|
|00002ad0| 32 31 29 29 0a 23 40 37 | 36 20 2a 53 79 6d 62 6f |21)).#@7|6 *Symbo|
|00002ae0| 6c 20 69 6e 64 69 63 61 | 74 69 6e 67 20 74 68 61 |l indica|ting tha|
|00002af0| 74 20 61 20 64 69 61 72 | 79 20 65 6e 74 72 79 20 |t a diar|y entry |
|00002b00| 69 73 20 6e 6f 74 20 74 | 6f 20 62 65 20 6d 61 72 |is not t|o be mar|
|00002b10| 6b 65 64 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |ked in t|he calen|
|00002b20| 64 61 72 2e 1f 0a 28 64 | 65 66 76 61 72 20 64 69 |dar...(d|efvar di|
|00002b30| 61 72 79 2d 6e 6f 6e 6d | 61 72 6b 69 6e 67 2d 73 |ary-nonm|arking-s|
|00002b40| 79 6d 62 6f 6c 20 22 26 | 22 20 28 23 24 20 2e 20 |ymbol "&|" (#$ . |
|00002b50| 2d 31 30 39 37 30 29 29 | 0a 23 40 36 38 20 2a 53 |-10970))|.#@68 *S|
|00002b60| 79 6d 62 6f 6c 20 69 6e | 64 69 63 61 74 69 6e 67 |ymbol in|dicating|
|00002b70| 20 61 20 64 69 61 72 79 | 20 65 6e 74 72 79 20 61 | a diary| entry a|
|00002b80| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |ccording| to the |
|00002b90| 48 65 62 72 65 77 20 63 | 61 6c 65 6e 64 61 72 2e |Hebrew c|alendar.|
|00002ba0| 1f 0a 28 64 65 66 76 61 | 72 20 68 65 62 72 65 77 |..(defva|r hebrew|
|00002bb0| 2d 64 69 61 72 79 2d 65 | 6e 74 72 79 2d 73 79 6d |-diary-e|ntry-sym|
|00002bc0| 62 6f 6c 20 22 48 22 20 | 28 23 24 20 2e 20 2d 31 |bol "H" |(#$ . -1|
|00002bd0| 31 31 30 32 29 29 0a 23 | 40 36 39 20 2a 53 79 6d |1102)).#|@69 *Sym|
|00002be0| 62 6f 6c 20 69 6e 64 69 | 63 61 74 69 6e 67 20 61 |bol indi|cating a|
|00002bf0| 20 64 69 61 72 79 20 65 | 6e 74 72 79 20 61 63 63 | diary e|ntry acc|
|00002c00| 6f 72 64 69 6e 67 20 74 | 6f 20 74 68 65 20 49 73 |ording t|o the Is|
|00002c10| 6c 61 6d 69 63 20 63 61 | 6c 65 6e 64 61 72 2e 1f |lamic ca|lendar..|
|00002c20| 0a 28 64 65 66 76 61 72 | 20 69 73 6c 61 6d 69 63 |.(defvar| islamic|
|00002c30| 2d 64 69 61 72 79 2d 65 | 6e 74 72 79 2d 73 79 6d |-diary-e|ntry-sym|
|00002c40| 62 6f 6c 20 22 49 22 20 | 28 23 24 20 2e 20 2d 31 |bol "I" |(#$ . -1|
|00002c50| 31 32 32 38 29 29 0a 23 | 40 31 33 36 20 2a 54 68 |1228)).#|@136 *Th|
|00002c60| 65 20 73 74 72 69 6e 67 | 20 69 6e 64 69 63 61 74 |e string| indicat|
|00002c70| 69 6e 67 20 69 6e 63 6c | 75 73 69 6f 6e 20 6f 66 |ing incl|usion of|
|00002c80| 20 61 6e 6f 74 68 65 72 | 20 66 69 6c 65 20 6f 66 | another| file of|
|00002c90| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 2e 0a | diary e|ntries..|
|00002ca0| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00002cb0| 61 74 69 6f 6e 20 66 6f | 72 20 74 68 65 20 66 75 |ation fo|r the fu|
|00002cc0| 6e 63 74 69 6f 6e 20 60 | 69 6e 63 6c 75 64 65 2d |nction `|include-|
|00002cd0| 6f 74 68 65 72 2d 64 69 | 61 72 79 2d 66 69 6c 65 |other-di|ary-file|
|00002ce0| 73 27 2e 1f 0a 28 64 65 | 66 76 61 72 20 64 69 61 |s'...(de|fvar dia|
|00002cf0| 72 79 2d 69 6e 63 6c 75 | 64 65 2d 73 74 72 69 6e |ry-inclu|de-strin|
|00002d00| 67 20 22 23 69 6e 63 6c | 75 64 65 22 20 28 23 24 |g "#incl|ude" (#$|
|00002d10| 20 2e 20 2d 31 31 33 35 | 37 29 29 0a 23 40 31 33 | . -1135|7)).#@13|
|00002d20| 30 20 2a 54 68 65 20 73 | 74 72 69 6e 67 20 75 73 |0 *The s|tring us|
|00002d30| 65 64 20 74 6f 20 69 6e | 64 69 63 61 74 65 20 61 |ed to in|dicate a|
|00002d40| 20 73 65 78 70 20 64 69 | 61 72 79 20 65 6e 74 72 | sexp di|ary entr|
|00002d50| 79 20 69 6e 20 64 69 61 | 72 79 2d 66 69 6c 65 2e |y in dia|ry-file.|
|00002d60| 0a 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |.See the| documen|
|00002d70| 74 61 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 66 |tation f|or the f|
|00002d80| 75 6e 63 74 69 6f 6e 20 | 60 6c 69 73 74 2d 73 65 |unction |`list-se|
|00002d90| 78 70 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |xp-diary|-entries|
|00002da0| 27 2e 1f 0a 28 64 65 66 | 76 61 72 20 73 65 78 70 |'...(def|var sexp|
|00002db0| 2d 64 69 61 72 79 2d 65 | 6e 74 72 79 2d 73 79 6d |-diary-e|ntry-sym|
|00002dc0| 62 6f 6c 20 22 25 25 22 | 20 28 23 24 20 2e 20 2d |bol "%%"| (#$ . -|
|00002dd0| 31 31 35 35 34 29 29 0a | 23 40 32 30 35 20 2a 49 |11554)).|#@205 *I|
|00002de0| 6e 74 65 72 70 72 65 74 | 20 61 20 74 77 6f 2d 64 |nterpret| a two-d|
|00002df0| 69 67 69 74 20 79 65 61 | 72 20 44 44 20 69 6e 20 |igit yea|r DD in |
|00002e00| 61 20 64 69 61 72 79 20 | 65 6e 74 72 79 20 61 73 |a diary |entry as|
|00002e10| 20 65 69 74 68 65 72 20 | 31 39 44 44 20 6f 72 20 | either |19DD or |
|00002e20| 32 30 44 44 2e 0a 46 6f | 72 20 74 68 65 20 47 72 |20DD..Fo|r the Gr|
|00002e30| 65 67 6f 72 69 61 6e 20 | 63 61 6c 65 6e 64 61 72 |egorian |calendar|
|00002e40| 3b 20 73 69 6d 69 6c 61 | 72 6c 79 20 66 6f 72 20 |; simila|rly for |
|00002e50| 74 68 65 20 48 65 62 72 | 65 77 20 61 6e 64 20 49 |the Hebr|ew and I|
|00002e60| 73 6c 61 6d 69 63 20 63 | 61 6c 65 6e 64 61 72 73 |slamic c|alendars|
|00002e70| 2e 0a 49 66 20 74 68 69 | 73 20 76 61 72 69 61 62 |..If thi|s variab|
|00002e80| 6c 65 20 69 73 20 6e 69 | 6c 2c 20 79 65 61 72 73 |le is ni|l, years|
|00002e90| 20 6d 75 73 74 20 62 65 | 20 77 72 69 74 74 65 6e | must be| written|
|00002ea0| 20 69 6e 20 66 75 6c 6c | 2e 1f 0a 28 64 65 66 76 | in full|...(defv|
|00002eb0| 61 72 20 61 62 62 72 65 | 76 69 61 74 65 64 2d 63 |ar abbre|viated-c|
|00002ec0| 61 6c 65 6e 64 61 72 2d | 79 65 61 72 20 74 20 28 |alendar-|year t (|
|00002ed0| 23 24 20 2e 20 2d 31 31 | 37 34 32 29 29 0a 23 40 |#$ . -11|742)).#@|
|00002ee0| 34 32 37 20 2a 55 73 65 | 20 74 68 65 20 45 75 72 |427 *Use| the Eur|
|00002ef0| 6f 70 65 61 6e 20 73 74 | 79 6c 65 20 6f 66 20 64 |opean st|yle of d|
|00002f00| 61 74 65 73 20 69 6e 20 | 74 68 65 20 64 69 61 72 |ates in |the diar|
|00002f10| 79 20 61 6e 64 20 69 6e | 20 61 6e 79 20 64 69 73 |y and in| any dis|
|00002f20| 70 6c 61 79 73 2e 0a 49 | 66 20 74 68 69 73 20 76 |plays..I|f this v|
|00002f30| 61 72 69 61 62 6c 65 20 | 69 73 20 74 2c 20 61 20 |ariable |is t, a |
|00002f40| 64 61 74 65 20 31 2f 32 | 2f 31 39 39 30 20 77 6f |date 1/2|/1990 wo|
|00002f50| 75 6c 64 20 62 65 20 69 | 6e 74 65 72 70 72 65 74 |uld be i|nterpret|
|00002f60| 65 64 20 61 73 20 46 65 | 62 72 75 61 72 79 20 31 |ed as Fe|bruary 1|
|00002f70| 2c 0a 31 39 39 30 2e 20 | 20 54 68 65 20 61 63 63 |,.1990. | The acc|
|00002f80| 65 70 74 65 64 20 45 75 | 72 6f 70 65 61 6e 20 64 |epted Eu|ropean d|
|00002f90| 61 74 65 20 73 74 79 6c | 65 73 20 61 72 65 0a 0a |ate styl|es are..|
|00002fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 41 59 2f | | DAY/|
|00002fb0| 4d 4f 4e 54 48 0a 20 20 | 20 20 20 20 20 20 20 20 |MONTH. | |
|00002fc0| 20 20 44 41 59 2f 4d 4f | 4e 54 48 2f 59 45 41 52 | DAY/MO|NTH/YEAR|
|00002fd0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 44 41 59 |. | DAY|
|00002fe0| 20 4d 4f 4e 54 48 4e 41 | 4d 45 0a 20 20 20 20 20 | MONTHNA|ME. |
|00002ff0| 20 20 20 20 20 20 20 44 | 41 59 20 4d 4f 4e 54 48 | D|AY MONTH|
|00003000| 4e 41 4d 45 20 59 45 41 | 52 0a 20 20 20 20 20 20 |NAME YEA|R. |
|00003010| 20 20 20 20 20 20 44 41 | 59 4e 41 4d 45 0a 0a 4e | DA|YNAME..N|
|00003020| 61 6d 65 73 20 63 61 6e | 20 62 65 20 63 61 70 69 |ames can| be capi|
|00003030| 74 61 6c 69 7a 65 64 20 | 6f 72 20 6e 6f 74 2c 20 |talized |or not, |
|00003040| 77 72 69 74 74 65 6e 20 | 69 6e 20 66 75 6c 6c 2c |written |in full,|
|00003050| 20 6f 72 20 61 62 62 72 | 65 76 69 61 74 65 64 20 | or abbr|eviated |
|00003060| 74 6f 20 74 68 72 65 65 | 0a 63 68 61 72 61 63 74 |to three|.charact|
|00003070| 65 72 73 20 77 69 74 68 | 20 6f 72 20 77 69 74 68 |ers with| or with|
|00003080| 6f 75 74 20 61 20 70 65 | 72 69 6f 64 2e 1f 0a 28 |out a pe|riod...(|
|00003090| 64 65 66 76 61 72 20 65 | 75 72 6f 70 65 61 6e 2d |defvar e|uropean-|
|000030a0| 63 61 6c 65 6e 64 61 72 | 2d 73 74 79 6c 65 20 6e |calendar|-style n|
|000030b0| 69 6c 20 28 23 24 20 2e | 20 2d 31 32 30 30 34 29 |il (#$ .| -12004)|
|000030c0| 29 0a 23 40 31 33 37 20 | 2a 4c 69 73 74 20 6f 66 |).#@137 |*List of|
|000030d0| 20 70 73 65 75 64 6f 2d | 70 61 74 74 65 72 6e 73 | pseudo-|patterns|
|000030e0| 20 64 65 73 63 72 69 62 | 69 6e 67 20 74 68 65 20 | describ|ing the |
|000030f0| 41 6d 65 72 69 63 61 6e | 20 70 61 74 74 65 72 6e |American| pattern|
|00003100| 73 20 6f 66 20 64 61 74 | 65 20 75 73 65 64 2e 0a |s of dat|e used..|
|00003110| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00003120| 61 74 69 6f 6e 20 6f 66 | 20 60 64 69 61 72 79 2d |ation of| `diary-|
|00003130| 64 61 74 65 2d 66 6f 72 | 6d 73 27 20 66 6f 72 20 |date-for|ms' for |
|00003140| 61 6e 20 65 78 70 6c 61 | 6e 61 74 69 6f 6e 2e 1f |an expla|nation..|
|00003150| 0a 28 64 65 66 76 61 72 | 20 61 6d 65 72 69 63 61 |.(defvar| america|
|00003160| 6e 2d 64 61 74 65 2d 64 | 69 61 72 79 2d 70 61 74 |n-date-d|iary-pat|
|00003170| 74 65 72 6e 20 28 71 75 | 6f 74 65 20 28 28 6d 6f |tern (qu|ote ((mo|
|00003180| 6e 74 68 20 22 2f 22 20 | 64 61 79 20 22 5b 5e 2f |nth "/" |day "[^/|
|00003190| 30 2d 39 5d 22 29 20 28 | 6d 6f 6e 74 68 20 22 2f |0-9]") (|month "/|
|000031a0| 22 20 64 61 79 20 22 2f | 22 20 79 65 61 72 20 22 |" day "/|" year "|
|000031b0| 5b 5e 30 2d 39 5d 22 29 | 20 28 6d 6f 6e 74 68 6e |[^0-9]")| (monthn|
|000031c0| 61 6d 65 20 22 20 2a 22 | 20 64 61 79 20 22 5b 5e |ame " *"| day "[^|
|000031d0| 2c 30 2d 39 5d 22 29 20 | 28 6d 6f 6e 74 68 6e 61 |,0-9]") |(monthna|
|000031e0| 6d 65 20 22 20 2a 22 20 | 64 61 79 20 22 2c 20 2a |me " *" |day ", *|
|000031f0| 22 20 79 65 61 72 20 22 | 5b 5e 30 2d 39 5d 22 29 |" year "|[^0-9]")|
|00003200| 20 28 64 61 79 6e 61 6d | 65 20 22 5c 5c 57 22 29 | (daynam|e "\\W")|
|00003210| 29 29 20 28 23 24 20 2e | 20 2d 31 32 34 38 38 29 |)) (#$ .| -12488)|
|00003220| 29 0a 23 40 31 33 37 20 | 2a 4c 69 73 74 20 6f 66 |).#@137 |*List of|
|00003230| 20 70 73 65 75 64 6f 2d | 70 61 74 74 65 72 6e 73 | pseudo-|patterns|
|00003240| 20 64 65 73 63 72 69 62 | 69 6e 67 20 74 68 65 20 | describ|ing the |
|00003250| 45 75 72 6f 70 65 61 6e | 20 70 61 74 74 65 72 6e |European| pattern|
|00003260| 73 20 6f 66 20 64 61 74 | 65 20 75 73 65 64 2e 0a |s of dat|e used..|
|00003270| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00003280| 61 74 69 6f 6e 20 6f 66 | 20 60 64 69 61 72 79 2d |ation of| `diary-|
|00003290| 64 61 74 65 2d 66 6f 72 | 6d 73 27 20 66 6f 72 20 |date-for|ms' for |
|000032a0| 61 6e 20 65 78 70 6c 61 | 6e 61 74 69 6f 6e 2e 1f |an expla|nation..|
|000032b0| 0a 28 64 65 66 76 61 72 | 20 65 75 72 6f 70 65 61 |.(defvar| europea|
|000032c0| 6e 2d 64 61 74 65 2d 64 | 69 61 72 79 2d 70 61 74 |n-date-d|iary-pat|
|000032d0| 74 65 72 6e 20 28 71 75 | 6f 74 65 20 28 28 64 61 |tern (qu|ote ((da|
|000032e0| 79 20 22 2f 22 20 6d 6f | 6e 74 68 20 22 5b 5e 2f |y "/" mo|nth "[^/|
|000032f0| 30 2d 39 5d 22 29 20 28 | 64 61 79 20 22 2f 22 20 |0-9]") (|day "/" |
|00003300| 6d 6f 6e 74 68 20 22 2f | 22 20 79 65 61 72 20 22 |month "/|" year "|
|00003310| 5b 5e 30 2d 39 5d 22 29 | 20 28 62 61 63 6b 75 70 |[^0-9]")| (backup|
|00003320| 20 64 61 79 20 22 20 2a | 22 20 6d 6f 6e 74 68 6e | day " *|" monthn|
|00003330| 61 6d 65 20 22 5c 5c 57 | 2b 5c 5c 3c 5b 5e 2a 30 |ame "\\W|+\\<[^*0|
|00003340| 2d 39 5d 22 29 20 28 64 | 61 79 20 22 20 2a 22 20 |-9]") (d|ay " *" |
|00003350| 6d 6f 6e 74 68 6e 61 6d | 65 20 22 20 2a 22 20 79 |monthnam|e " *" y|
|00003360| 65 61 72 20 22 5b 5e 30 | 2d 39 5d 22 29 20 28 64 |ear "[^0|-9]") (d|
|00003370| 61 79 6e 61 6d 65 20 22 | 5c 5c 57 22 29 29 29 20 |ayname "|\\W"))) |
|00003380| 28 23 24 20 2e 20 2d 31 | 32 38 34 30 29 29 0a 23 |(#$ . -1|2840)).#|
|00003390| 40 31 33 30 34 20 2a 4c | 69 73 74 20 6f 66 20 70 |@1304 *L|ist of p|
|000033a0| 73 65 75 64 6f 2d 70 61 | 74 74 65 72 6e 73 20 64 |seudo-pa|tterns d|
|000033b0| 65 73 63 72 69 62 69 6e | 67 20 74 68 65 20 66 6f |escribin|g the fo|
|000033c0| 72 6d 73 20 6f 66 20 64 | 61 74 65 20 75 73 65 64 |rms of d|ate used|
|000033d0| 20 69 6e 20 74 68 65 20 | 64 69 61 72 79 2e 0a 54 | in the |diary..T|
|000033e0| 68 65 20 70 61 74 74 65 | 72 6e 73 20 6f 6e 20 74 |he patte|rns on t|
|000033f0| 68 65 20 6c 69 73 74 20 | 6d 75 73 74 20 62 65 20 |he list |must be |
|00003400| 4d 55 54 55 41 4c 4c 59 | 20 45 58 43 4c 55 53 49 |MUTUALLY| EXCLUSI|
|00003410| 56 45 20 61 6e 64 20 6d | 75 73 74 20 73 68 6f 75 |VE and m|ust shou|
|00003420| 6c 64 20 6e 6f 74 20 6d | 61 74 63 68 0a 61 6e 79 |ld not m|atch.any|
|00003430| 20 70 6f 72 74 69 6f 6e | 20 6f 66 20 74 68 65 20 | portion| of the |
|00003440| 64 69 61 72 79 20 65 6e | 74 72 79 20 69 74 73 65 |diary en|try itse|
|00003450| 6c 66 2c 20 6a 75 73 74 | 20 74 68 65 20 64 61 74 |lf, just| the dat|
|00003460| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 0a 0a 41 20 |e compon|ent...A |
|00003470| 70 73 65 75 64 6f 2d 70 | 61 74 74 65 72 6e 20 69 |pseudo-p|attern i|
|00003480| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 72 65 67 75 |s a list| of regu|
|00003490| 6c 61 72 20 65 78 70 72 | 65 73 73 69 6f 6e 73 20 |lar expr|essions |
|000034a0| 61 6e 64 20 74 68 65 20 | 6b 65 79 77 6f 72 64 73 |and the |keywords|
|000034b0| 20 60 6d 6f 6e 74 68 27 | 2c 0a 60 64 61 79 27 2c | `month'|,.`day',|
|000034c0| 20 60 79 65 61 72 27 2c | 20 60 6d 6f 6e 74 68 6e | `year',| `monthn|
|000034d0| 61 6d 65 27 2c 20 61 6e | 64 20 60 64 61 79 6e 61 |ame', an|d `dayna|
|000034e0| 6d 65 27 2e 20 20 54 68 | 65 20 6b 65 79 77 6f 72 |me'. Th|e keywor|
|000034f0| 64 20 60 6d 6f 6e 74 68 | 6e 61 6d 65 27 20 77 69 |d `month|name' wi|
|00003500| 6c 6c 0a 6d 61 74 63 68 | 20 74 68 65 20 6e 61 6d |ll.match| the nam|
|00003510| 65 20 6f 66 20 74 68 65 | 20 6d 6f 6e 74 68 2c 20 |e of the| month, |
|00003520| 63 61 70 69 74 61 6c 69 | 7a 65 64 20 6f 72 20 6e |capitali|zed or n|
|00003530| 6f 74 2c 20 6f 72 20 69 | 74 73 20 74 68 72 65 65 |ot, or i|ts three|
|00003540| 2d 6c 65 74 74 65 72 0a | 61 62 62 72 65 76 69 61 |-letter.|abbrevia|
|00003550| 74 69 6f 6e 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |tion, fo|llowed b|
|00003560| 79 20 61 20 70 65 72 69 | 6f 64 20 6f 72 20 6e 6f |y a peri|od or no|
|00003570| 74 3b 20 69 74 20 77 69 | 6c 6c 20 61 6c 73 6f 20 |t; it wi|ll also |
|00003580| 6d 61 74 63 68 20 60 2a | 27 2e 0a 53 69 6d 69 6c |match `*|'..Simil|
|00003590| 61 72 6c 79 2c 20 60 64 | 61 79 6e 61 6d 65 27 20 |arly, `d|ayname' |
|000035a0| 77 69 6c 6c 20 6d 61 74 | 63 68 20 74 68 65 20 6e |will mat|ch the n|
|000035b0| 61 6d 65 20 6f 66 20 74 | 68 65 20 64 61 79 2c 20 |ame of t|he day, |
|000035c0| 63 61 70 69 74 61 6c 69 | 7a 65 64 20 6f 72 20 6e |capitali|zed or n|
|000035d0| 6f 74 2c 20 6f 72 0a 69 | 74 73 20 74 68 72 65 65 |ot, or.i|ts three|
|000035e0| 2d 6c 65 74 74 65 72 20 | 61 62 62 72 65 76 69 61 |-letter |abbrevia|
|000035f0| 74 69 6f 6e 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |tion, fo|llowed b|
|00003600| 79 20 61 20 70 65 72 69 | 6f 64 20 6f 72 20 6e 6f |y a peri|od or no|
|00003610| 74 2e 20 20 54 68 65 20 | 6b 65 79 77 6f 72 64 73 |t. The |keywords|
|00003620| 0a 60 6d 6f 6e 74 68 27 | 2c 20 60 64 61 79 27 2c |.`month'|, `day',|
|00003630| 20 61 6e 64 20 60 79 65 | 61 72 27 20 77 69 6c 6c | and `ye|ar' will|
|00003640| 20 6d 61 74 63 68 20 74 | 68 6f 73 65 20 6e 75 6d | match t|hose num|
|00003650| 65 72 69 63 61 6c 20 76 | 61 6c 75 65 73 2c 20 70 |erical v|alues, p|
|00003660| 72 65 63 65 64 65 64 20 | 62 79 0a 61 72 62 69 74 |receded |by.arbit|
|00003670| 72 61 72 69 6c 79 20 6d | 61 6e 79 20 7a 65 72 6f |rarily m|any zero|
|00003680| 73 3b 20 74 68 65 79 20 | 77 69 6c 6c 20 61 6c 73 |s; they |will als|
|00003690| 6f 20 6d 61 74 63 68 20 | 60 2a 27 2e 0a 0a 54 68 |o match |`*'...Th|
|000036a0| 65 20 6d 61 74 63 68 69 | 6e 67 20 6f 66 20 74 68 |e matchi|ng of th|
|000036b0| 65 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |e diary |entries |
|000036c0| 77 69 74 68 20 74 68 65 | 20 64 61 74 65 20 66 6f |with the| date fo|
|000036d0| 72 6d 73 20 69 73 20 64 | 6f 6e 65 20 77 69 74 68 |rms is d|one with|
|000036e0| 20 74 68 65 0a 73 74 61 | 6e 64 61 72 64 20 73 79 | the.sta|ndard sy|
|000036f0| 6e 74 61 78 20 74 61 62 | 6c 65 20 66 72 6f 6d 20 |ntax tab|le from |
|00003700| 46 75 6e 64 61 6d 65 6e | 74 61 6c 20 6d 6f 64 65 |Fundamen|tal mode|
|00003710| 2c 20 62 75 74 20 77 69 | 74 68 20 74 68 65 20 60 |, but wi|th the `|
|00003720| 2a 27 20 63 68 61 6e 67 | 65 64 20 73 6f 0a 74 68 |*' chang|ed so.th|
|00003730| 61 74 20 69 74 20 69 73 | 20 61 20 77 6f 72 64 20 |at it is| a word |
|00003740| 63 6f 6e 73 74 69 74 75 | 65 6e 74 2e 0a 0a 49 66 |constitu|ent...If|
|00003750| 2c 20 74 6f 20 62 65 20 | 6d 75 74 75 61 6c 6c 79 |, to be |mutually|
|00003760| 20 65 78 63 6c 75 73 69 | 76 65 2c 20 61 20 70 73 | exclusi|ve, a ps|
|00003770| 65 75 64 6f 2d 70 61 74 | 74 65 72 6e 20 6d 75 73 |eudo-pat|tern mus|
|00003780| 74 20 6d 61 74 63 68 20 | 61 20 70 6f 72 74 69 6f |t match |a portio|
|00003790| 6e 20 6f 66 20 74 68 65 | 0a 64 69 61 72 79 20 65 |n of the|.diary e|
|000037a0| 6e 74 72 79 20 69 74 73 | 65 6c 66 2c 20 74 68 65 |ntry its|elf, the|
|000037b0| 20 66 69 72 73 74 20 65 | 6c 65 6d 65 6e 74 20 6f | first e|lement o|
|000037c0| 66 20 74 68 65 20 70 61 | 74 74 65 72 6e 20 4d 55 |f the pa|ttern MU|
|000037d0| 53 54 20 62 65 20 60 62 | 61 63 6b 75 70 27 2e 20 |ST be `b|ackup'. |
|000037e0| 20 54 68 69 73 0a 64 69 | 72 65 63 74 69 76 65 20 | This.di|rective |
|000037f0| 63 61 75 73 65 73 20 74 | 68 65 20 64 61 74 65 20 |causes t|he date |
|00003800| 72 65 63 6f 67 6e 69 7a | 65 72 20 74 6f 20 62 61 |recogniz|er to ba|
|00003810| 63 6b 20 75 70 20 74 6f | 20 74 68 65 20 62 65 67 |ck up to| the beg|
|00003820| 69 6e 6e 69 6e 67 20 6f | 66 20 74 68 65 0a 63 75 |inning o|f the.cu|
|00003830| 72 72 65 6e 74 20 77 6f | 72 64 20 6f 66 20 74 68 |rrent wo|rd of th|
|00003840| 65 20 64 69 61 72 79 20 | 65 6e 74 72 79 2c 20 73 |e diary |entry, s|
|00003850| 6f 20 69 6e 20 6e 6f 20 | 63 61 73 65 20 63 61 6e |o in no |case can|
|00003860| 20 74 68 65 20 70 61 74 | 74 65 72 6e 20 6d 61 74 | the pat|tern mat|
|00003870| 63 68 20 6d 6f 72 65 20 | 74 68 61 6e 0a 61 20 70 |ch more |than.a p|
|00003880| 6f 72 74 69 6f 6e 20 6f | 66 20 74 68 65 20 66 69 |ortion o|f the fi|
|00003890| 72 73 74 20 77 6f 72 64 | 20 6f 66 20 74 68 65 20 |rst word| of the |
|000038a0| 64 69 61 72 79 20 65 6e | 74 72 79 2e 1f 0a 28 64 |diary en|try...(d|
|000038b0| 65 66 76 61 72 20 64 69 | 61 72 79 2d 64 61 74 65 |efvar di|ary-date|
|000038c0| 2d 66 6f 72 6d 73 20 28 | 62 79 74 65 2d 63 6f 64 |-forms (|byte-cod|
|000038d0| 65 20 22 08 83 06 00 09 | 87 5c 6e 87 22 20 5b 65 |e ".....|.\n." [e|
|000038e0| 75 72 6f 70 65 61 6e 2d | 63 61 6c 65 6e 64 61 72 |uropean-|calendar|
|000038f0| 2d 73 74 79 6c 65 20 65 | 75 72 6f 70 65 61 6e 2d |-style e|uropean-|
|00003900| 64 61 74 65 2d 64 69 61 | 72 79 2d 70 61 74 74 65 |date-dia|ry-patte|
|00003910| 72 6e 20 61 6d 65 72 69 | 63 61 6e 2d 64 61 74 65 |rn ameri|can-date|
|00003920| 2d 64 69 61 72 79 2d 70 | 61 74 74 65 72 6e 5d 20 |-diary-p|attern] |
|00003930| 31 29 20 28 23 24 20 2e | 20 2d 31 33 32 30 36 29 |1) (#$ .| -13206)|
|00003940| 29 0a 23 40 31 34 35 20 | 2a 50 73 65 75 64 6f 2d |).#@145 |*Pseudo-|
|00003950| 70 61 74 74 65 72 6e 20 | 67 6f 76 65 72 6e 69 6e |pattern |governin|
|00003960| 67 20 74 68 65 20 77 61 | 79 20 61 20 64 61 74 65 |g the wa|y a date|
|00003970| 20 61 70 70 65 61 72 73 | 20 69 6e 20 74 68 65 20 | appears| in the |
|00003980| 45 75 72 6f 70 65 61 6e | 20 73 74 79 6c 65 2e 0a |European| style..|
|00003990| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|000039a0| 61 74 69 6f 6e 20 6f 66 | 20 63 61 6c 65 6e 64 61 |ation of| calenda|
|000039b0| 72 2d 64 61 74 65 2d 64 | 69 73 70 6c 61 79 2d 66 |r-date-d|isplay-f|
|000039c0| 6f 72 6d 20 66 6f 72 20 | 61 6e 20 65 78 70 6c 61 |orm for |an expla|
|000039d0| 6e 61 74 69 6f 6e 2e 1f | 0a 28 64 65 66 76 61 72 |nation..|.(defvar|
|000039e0| 20 65 75 72 6f 70 65 61 | 6e 2d 63 61 6c 65 6e 64 | europea|n-calend|
|000039f0| 61 72 2d 64 69 73 70 6c | 61 79 2d 66 6f 72 6d 20 |ar-displ|ay-form |
|00003a00| 28 71 75 6f 74 65 20 28 | 28 69 66 20 64 61 79 6e |(quote (|(if dayn|
|00003a10| 61 6d 65 20 28 63 6f 6e | 63 61 74 20 64 61 79 6e |ame (con|cat dayn|
|00003a20| 61 6d 65 20 22 2c 20 22 | 29 29 20 64 61 79 20 22 |ame ", "|)) day "|
|00003a30| 20 22 20 6d 6f 6e 74 68 | 6e 61 6d 65 20 22 20 22 | " month|name " "|
|00003a40| 20 79 65 61 72 29 29 20 | 28 23 24 20 2e 20 2d 31 | year)) |(#$ . -1|
|00003a50| 34 36 36 34 29 29 0a 23 | 40 31 34 37 20 2a 50 73 |4664)).#|@147 *Ps|
|00003a60| 65 75 64 6f 2d 70 61 74 | 74 65 72 6e 20 67 6f 76 |eudo-pat|tern gov|
|00003a70| 65 72 6e 69 6e 67 20 74 | 68 65 20 77 61 79 20 61 |erning t|he way a|
|00003a80| 20 64 61 74 65 20 61 70 | 70 65 61 72 73 20 69 6e | date ap|pears in|
|00003a90| 20 74 68 65 20 41 6d 65 | 72 69 63 61 6e 20 73 74 | the Ame|rican st|
|00003aa0| 79 6c 65 2e 0a 53 65 65 | 20 74 68 65 20 64 6f 63 |yle..See| the doc|
|00003ab0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 60 63 |umentati|on of `c|
|00003ac0| 61 6c 65 6e 64 61 72 2d | 64 61 74 65 2d 64 69 73 |alendar-|date-dis|
|00003ad0| 70 6c 61 79 2d 66 6f 72 | 6d 27 20 66 6f 72 20 61 |play-for|m' for a|
|00003ae0| 6e 20 65 78 70 6c 61 6e | 61 74 69 6f 6e 2e 1f 0a |n explan|ation...|
|00003af0| 28 64 65 66 76 61 72 20 | 61 6d 65 72 69 63 61 6e |(defvar |american|
|00003b00| 2d 63 61 6c 65 6e 64 61 | 72 2d 64 69 73 70 6c 61 |-calenda|r-displa|
|00003b10| 79 2d 66 6f 72 6d 20 28 | 71 75 6f 74 65 20 28 28 |y-form (|quote ((|
|00003b20| 69 66 20 64 61 79 6e 61 | 6d 65 20 28 63 6f 6e 63 |if dayna|me (conc|
|00003b30| 61 74 20 64 61 79 6e 61 | 6d 65 20 22 2c 20 22 29 |at dayna|me ", ")|
|00003b40| 29 20 6d 6f 6e 74 68 6e | 61 6d 65 20 22 20 22 20 |) monthn|ame " " |
|00003b50| 64 61 79 20 22 2c 20 22 | 20 79 65 61 72 29 29 20 |day ", "| year)) |
|00003b60| 28 23 24 20 2e 20 2d 31 | 34 39 34 31 29 29 0a 23 |(#$ . -1|4941)).#|
|00003b70| 40 36 36 31 20 2a 50 73 | 65 75 64 6f 2d 70 61 74 |@661 *Ps|eudo-pat|
|00003b80| 74 65 72 6e 20 67 6f 76 | 65 72 6e 69 6e 67 20 74 |tern gov|erning t|
|00003b90| 68 65 20 77 61 79 20 61 | 20 64 61 74 65 20 61 70 |he way a| date ap|
|00003ba0| 70 65 61 72 73 2e 0a 0a | 55 73 65 64 20 62 79 20 |pears...|Used by |
|00003bb0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 60 63 61 |the func|tion `ca|
|00003bc0| 6c 65 6e 64 61 72 2d 64 | 61 74 65 2d 73 74 72 69 |lendar-d|ate-stri|
|00003bd0| 6e 67 27 2c 20 61 20 70 | 73 65 75 64 6f 2d 70 61 |ng', a p|seudo-pa|
|00003be0| 74 74 65 72 6e 20 69 73 | 20 61 20 6c 69 73 74 20 |ttern is| a list |
|00003bf0| 6f 66 0a 65 78 70 72 65 | 73 73 69 6f 6e 73 20 74 |of.expre|ssions t|
|00003c00| 68 61 74 20 63 61 6e 20 | 69 6e 76 6f 6c 76 65 20 |hat can |involve |
|00003c10| 74 68 65 20 6b 65 79 77 | 6f 72 64 73 20 60 6d 6f |the keyw|ords `mo|
|00003c20| 6e 74 68 27 2c 20 60 64 | 61 79 27 2c 20 61 6e 64 |nth', `d|ay', and|
|00003c30| 20 60 79 65 61 72 27 2c | 20 61 6c 6c 0a 6e 75 6d | `year',| all.num|
|00003c40| 62 65 72 73 20 69 6e 20 | 73 74 72 69 6e 67 20 66 |bers in |string f|
|00003c50| 6f 72 6d 2c 20 61 6e 64 | 20 60 6d 6f 6e 74 68 6e |orm, and| `monthn|
|00003c60| 61 6d 65 27 20 61 6e 64 | 20 60 64 61 79 6e 61 6d |ame' and| `daynam|
|00003c70| 65 27 2c 20 62 6f 74 68 | 20 61 6c 70 68 61 62 65 |e', both| alphabe|
|00003c80| 74 69 63 0a 73 74 72 69 | 6e 67 73 2e 20 20 46 6f |tic.stri|ngs. Fo|
|00003c90| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 49 |r exampl|e, the I|
|00003ca0| 53 4f 20 73 74 61 6e 64 | 61 72 64 20 77 6f 75 6c |SO stand|ard woul|
|00003cb0| 64 20 75 73 65 20 74 68 | 65 20 70 73 65 75 64 6f |d use th|e pseudo|
|00003cc0| 2d 20 70 61 74 74 65 72 | 6e 0a 0a 20 20 20 20 20 |- patter|n.. |
|00003cd0| 20 20 27 28 79 65 61 72 | 20 22 2d 22 20 6d 6f 6e | '(year| "-" mon|
|00003ce0| 74 68 20 22 2d 22 20 64 | 61 79 29 0a 0a 77 68 69 |th "-" d|ay)..whi|
|00003cf0| 6c 65 20 61 20 74 79 70 | 69 63 61 6c 20 41 6d 65 |le a typ|ical Ame|
|00003d00| 72 69 63 61 6e 20 66 6f | 72 6d 20 77 6f 75 6c 64 |rican fo|rm would|
|00003d10| 20 62 65 0a 0a 20 20 20 | 20 20 20 20 27 28 6d 6f | be.. | '(mo|
|00003d20| 6e 74 68 20 22 2f 22 20 | 64 61 79 20 22 2f 22 20 |nth "/" |day "/" |
|00003d30| 28 73 75 62 73 74 72 69 | 6e 67 20 79 65 61 72 20 |(substri|ng year |
|00003d40| 2d 32 29 29 0a 0a 61 6e | 64 0a 0a 20 20 20 20 20 |-2))..an|d.. |
|00003d50| 20 20 27 28 28 66 6f 72 | 6d 61 74 20 22 25 39 73 | '((for|mat "%9s|
|00003d60| 2c 20 25 39 73 20 25 32 | 73 2c 20 25 34 73 22 20 |, %9s %2|s, %4s" |
|00003d70| 64 61 79 6e 61 6d 65 20 | 6d 6f 6e 74 68 6e 61 6d |dayname |monthnam|
|00003d80| 65 20 64 61 79 20 79 65 | 61 72 29 29 0a 0a 77 6f |e day ye|ar))..wo|
|00003d90| 75 6c 64 20 67 69 76 65 | 20 74 68 65 20 75 73 75 |uld give| the usu|
|00003da0| 61 6c 20 41 6d 65 72 69 | 63 61 6e 20 73 74 79 6c |al Ameri|can styl|
|00003db0| 65 20 69 6e 20 66 69 78 | 65 64 2d 6c 65 6e 67 74 |e in fix|ed-lengt|
|00003dc0| 68 20 66 69 65 6c 64 73 | 2e 0a 0a 53 65 65 20 74 |h fields|...See t|
|00003dd0| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00003de0| 20 6f 66 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | of the |function|
|00003df0| 20 60 63 61 6c 65 6e 64 | 61 72 2d 64 61 74 65 2d | `calend|ar-date-|
|00003e00| 73 74 72 69 6e 67 27 2e | 1f 0a 28 64 65 66 76 61 |string'.|..(defva|
|00003e10| 72 20 63 61 6c 65 6e 64 | 61 72 2d 64 61 74 65 2d |r calend|ar-date-|
|00003e20| 64 69 73 70 6c 61 79 2d | 66 6f 72 6d 20 28 62 79 |display-|form (by|
|00003e30| 74 65 2d 63 6f 64 65 20 | 22 08 83 06 00 09 87 5c |te-code |"......\|
|00003e40| 6e 87 22 20 5b 65 75 72 | 6f 70 65 61 6e 2d 63 61 |n." [eur|opean-ca|
|00003e50| 6c 65 6e 64 61 72 2d 73 | 74 79 6c 65 20 65 75 72 |lendar-s|tyle eur|
|00003e60| 6f 70 65 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 64 |opean-ca|lendar-d|
|00003e70| 69 73 70 6c 61 79 2d 66 | 6f 72 6d 20 61 6d 65 72 |isplay-f|orm amer|
|00003e80| 69 63 61 6e 2d 63 61 6c | 65 6e 64 61 72 2d 64 69 |ican-cal|endar-di|
|00003e90| 73 70 6c 61 79 2d 66 6f | 72 6d 5d 20 31 29 20 28 |splay-fo|rm] 1) (|
|00003ea0| 23 24 20 2e 20 2d 31 35 | 32 32 31 29 29 0a 23 40 |#$ . -15|221)).#@|
|00003eb0| 36 38 20 53 65 74 20 74 | 68 65 20 69 6e 74 65 72 |68 Set t|he inter|
|00003ec0| 70 72 65 74 61 74 69 6f | 6e 20 61 6e 64 20 64 69 |pretatio|n and di|
|00003ed0| 73 70 6c 61 79 20 6f 66 | 20 64 61 74 65 73 20 74 |splay of| dates t|
|00003ee0| 6f 20 74 68 65 20 45 75 | 72 6f 70 65 61 6e 20 73 |o the Eu|ropean s|
|00003ef0| 74 79 6c 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tyle...(|defalias|
|00003f00| 20 27 65 75 72 6f 70 65 | 61 6e 2d 63 61 6c 65 6e | 'europe|an-calen|
|00003f10| 64 61 72 20 23 5b 6e 69 | 6c 20 23 40 31 37 36 20 |dar #[ni|l #@176 |
|00003f20| 28 22 c0 11 5c 6e 13 5c | 66 15 c6 20 87 22 20 2e |("..\n.\|f.. ." .|
|00003f30| 20 5b 74 20 65 75 72 6f | 70 65 61 6e 2d 63 61 6c | [t euro|pean-cal|
|00003f40| 65 6e 64 61 72 2d 73 74 | 79 6c 65 20 65 75 72 6f |endar-st|yle euro|
|00003f50| 70 65 61 6e 2d 63 61 6c | 65 6e 64 61 72 2d 64 69 |pean-cal|endar-di|
|00003f60| 73 70 6c 61 79 2d 66 6f | 72 6d 20 63 61 6c 65 6e |splay-fo|rm calen|
|00003f70| 64 61 72 2d 64 61 74 65 | 2d 64 69 73 70 6c 61 79 |dar-date|-display|
|00003f80| 2d 66 6f 72 6d 20 65 75 | 72 6f 70 65 61 6e 2d 64 |-form eu|ropean-d|
|00003f90| 61 74 65 2d 64 69 61 72 | 79 2d 70 61 74 74 65 72 |ate-diar|y-patter|
|00003fa0| 6e 20 64 69 61 72 79 2d | 64 61 74 65 2d 66 6f 72 |n diary-|date-for|
|00003fb0| 6d 73 20 75 70 64 61 74 | 65 2d 63 61 6c 65 6e 64 |ms updat|e-calend|
|00003fc0| 61 72 2d 6d 6f 64 65 2d | 6c 69 6e 65 5d 29 1f 28 |ar-mode-|line]).(|
|00003fd0| 23 24 20 2e 20 31 36 31 | 36 30 29 20 6e 69 6c 20 |#$ . 161|60) nil |
|00003fe0| 31 20 28 23 24 20 2e 20 | 31 36 30 35 31 29 20 6e |1 (#$ . |16051) n|
|00003ff0| 69 6c 5d 29 0a 23 40 36 | 38 20 53 65 74 20 74 68 |il]).#@6|8 Set th|
|00004000| 65 20 69 6e 74 65 72 70 | 72 65 74 61 74 69 6f 6e |e interp|retation|
|00004010| 20 61 6e 64 20 64 69 73 | 70 6c 61 79 20 6f 66 20 | and dis|play of |
|00004020| 64 61 74 65 73 20 74 6f | 20 74 68 65 20 41 6d 65 |dates to| the Ame|
|00004030| 72 69 63 61 6e 20 73 74 | 79 6c 65 2e 1f 0a 28 64 |rican st|yle...(d|
|00004040| 65 66 61 6c 69 61 73 20 | 27 61 6d 65 72 69 63 61 |efalias |'america|
|00004050| 6e 2d 63 61 6c 65 6e 64 | 61 72 20 23 5b 6e 69 6c |n-calend|ar #[nil|
|00004060| 20 23 40 31 37 38 20 28 | 22 c0 11 5c 6e 13 5c 66 | #@178 (|"..\n.\f|
|00004070| 15 c6 20 87 22 20 2e 20 | 5b 6e 69 6c 20 65 75 72 |.. ." . |[nil eur|
|00004080| 6f 70 65 61 6e 2d 63 61 | 6c 65 6e 64 61 72 2d 73 |opean-ca|lendar-s|
|00004090| 74 79 6c 65 20 61 6d 65 | 72 69 63 61 6e 2d 63 61 |tyle ame|rican-ca|
|000040a0| 6c 65 6e 64 61 72 2d 64 | 69 73 70 6c 61 79 2d 66 |lendar-d|isplay-f|
|000040b0| 6f 72 6d 20 63 61 6c 65 | 6e 64 61 72 2d 64 61 74 |orm cale|ndar-dat|
|000040c0| 65 2d 64 69 73 70 6c 61 | 79 2d 66 6f 72 6d 20 61 |e-displa|y-form a|
|000040d0| 6d 65 72 69 63 61 6e 2d | 64 61 74 65 2d 64 69 61 |merican-|date-dia|
|000040e0| 72 79 2d 70 61 74 74 65 | 72 6e 20 64 69 61 72 79 |ry-patte|rn diary|
|000040f0| 2d 64 61 74 65 2d 66 6f | 72 6d 73 20 75 70 64 61 |-date-fo|rms upda|
|00004100| 74 65 2d 63 61 6c 65 6e | 64 61 72 2d 6d 6f 64 65 |te-calen|dar-mode|
|00004110| 2d 6c 69 6e 65 5d 29 1f | 28 23 24 20 2e 20 31 36 |-line]).|(#$ . 16|
|00004120| 34 38 37 29 20 6e 69 6c | 20 31 20 28 23 24 20 2e |487) nil| 1 (#$ .|
|00004130| 20 31 36 33 37 38 29 20 | 6e 69 6c 5d 29 0a 23 40 | 16378) |nil]).#@|
|00004140| 33 36 39 20 2a 4c 69 73 | 74 20 6f 66 20 66 75 6e |369 *Lis|t of fun|
|00004150| 63 74 69 6f 6e 73 20 63 | 61 6c 6c 65 64 20 61 66 |ctions c|alled af|
|00004160| 74 65 72 20 61 20 74 65 | 6d 70 6f 72 61 72 79 20 |ter a te|mporary |
|00004170| 64 69 61 72 79 20 62 75 | 66 66 65 72 20 69 73 20 |diary bu|ffer is |
|00004180| 70 72 65 70 61 72 65 64 | 2e 0a 54 68 65 20 62 75 |prepared|..The bu|
|00004190| 66 66 65 72 20 73 68 6f | 77 73 20 6f 6e 6c 79 20 |ffer sho|ws only |
|000041a0| 74 68 65 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |the diar|y entrie|
|000041b0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 76 69 73 69 |s curren|tly visi|
|000041c0| 62 6c 65 20 69 6e 20 74 | 68 65 20 64 69 61 72 79 |ble in t|he diary|
|000041d0| 0a 62 75 66 66 65 72 2e | 20 20 54 68 65 20 64 65 |.buffer.| The de|
|000041e0| 66 61 75 6c 74 20 6a 75 | 73 74 20 64 6f 65 73 20 |fault ju|st does |
|000041f0| 74 68 65 20 70 72 69 6e | 74 69 6e 67 2e 20 20 4f |the prin|ting. O|
|00004200| 74 68 65 72 20 75 73 65 | 73 20 6d 69 67 68 74 20 |ther use|s might |
|00004210| 69 6e 63 6c 75 64 65 2c | 20 66 6f 72 0a 65 78 61 |include,| for.exa|
|00004220| 6d 70 6c 65 2c 20 72 65 | 61 72 72 61 6e 67 69 6e |mple, re|arrangin|
|00004230| 67 20 74 68 65 20 6c 69 | 6e 65 73 20 69 6e 74 6f |g the li|nes into|
|00004240| 20 6f 72 64 65 72 20 62 | 79 20 64 61 79 20 61 6e | order b|y day an|
|00004250| 64 20 74 69 6d 65 2c 20 | 73 61 76 69 6e 67 20 74 |d time, |saving t|
|00004260| 68 65 20 62 75 66 66 65 | 72 0a 69 6e 73 74 65 61 |he buffe|r.instea|
|00004270| 64 20 6f 66 20 64 65 6c | 65 74 69 6e 67 20 69 74 |d of del|eting it|
|00004280| 2c 20 6f 72 20 63 68 61 | 6e 67 69 6e 67 20 74 68 |, or cha|nging th|
|00004290| 65 20 66 75 6e 63 74 69 | 6f 6e 20 75 73 65 64 20 |e functi|on used |
|000042a0| 74 6f 20 64 6f 20 74 68 | 65 20 70 72 69 6e 74 69 |to do th|e printi|
|000042b0| 6e 67 2e 1f 0a 28 64 65 | 66 76 61 72 20 70 72 69 |ng...(de|fvar pri|
|000042c0| 6e 74 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |nt-diary|-entries|
|000042d0| 2d 68 6f 6f 6b 20 28 71 | 75 6f 74 65 20 6c 70 72 |-hook (q|uote lpr|
|000042e0| 2d 62 75 66 66 65 72 29 | 20 28 23 24 20 2e 20 2d |-buffer)| (#$ . -|
|000042f0| 31 36 37 30 38 29 29 0a | 23 40 31 31 33 39 20 2a |16708)).|#@1139 *|
|00004300| 4c 69 73 74 20 6f 66 20 | 66 75 6e 63 74 69 6f 6e |List of |function|
|00004310| 73 20 63 61 6c 6c 65 64 | 20 61 66 74 65 72 20 64 |s called| after d|
|00004320| 69 61 72 79 20 66 69 6c | 65 20 69 73 20 63 75 6c |iary fil|e is cul|
|00004330| 6c 65 64 20 66 6f 72 20 | 72 65 6c 65 76 61 6e 74 |led for |relevant|
|00004340| 20 65 6e 74 72 69 65 73 | 2e 0a 49 74 20 69 73 20 | entries|..It is |
|00004350| 74 6f 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 64 |to be us|ed for d|
|00004360| 69 61 72 79 20 65 6e 74 | 72 69 65 73 20 74 68 61 |iary ent|ries tha|
|00004370| 74 20 61 72 65 20 6e 6f | 74 20 66 6f 75 6e 64 20 |t are no|t found |
|00004380| 69 6e 20 74 68 65 20 64 | 69 61 72 79 20 66 69 6c |in the d|iary fil|
|00004390| 65 2e 0a 0a 41 20 66 75 | 6e 63 74 69 6f 6e 20 60 |e...A fu|nction `|
|000043a0| 69 6e 63 6c 75 64 65 2d | 6f 74 68 65 72 2d 64 69 |include-|other-di|
|000043b0| 61 72 79 2d 66 69 6c 65 | 73 27 20 69 73 20 70 72 |ary-file|s' is pr|
|000043c0| 6f 76 69 64 65 64 20 66 | 6f 72 20 75 73 65 20 61 |ovided f|or use a|
|000043d0| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 0a 74 |s the va|lue of.t|
|000043e0| 68 69 73 20 68 6f 6f 6b | 2e 20 20 54 68 69 73 20 |his hook|. This |
|000043f0| 66 75 6e 63 74 69 6f 6e | 20 65 6e 61 62 6c 65 73 |function| enables|
|00004400| 20 79 6f 75 20 74 6f 20 | 75 73 65 20 73 68 61 72 | you to |use shar|
|00004410| 65 64 20 64 69 61 72 79 | 20 66 69 6c 65 73 20 74 |ed diary| files t|
|00004420| 6f 67 65 74 68 65 72 0a | 77 69 74 68 20 79 6f 75 |ogether.|with you|
|00004430| 72 20 6f 77 6e 2e 20 20 | 54 68 65 20 66 69 6c 65 |r own. |The file|
|00004440| 73 20 69 6e 63 6c 75 64 | 65 64 20 61 72 65 20 73 |s includ|ed are s|
|00004450| 70 65 63 69 66 69 65 64 | 20 69 6e 20 74 68 65 20 |pecified| in the |
|00004460| 64 69 61 72 79 20 66 69 | 6c 65 20 62 79 20 6c 69 |diary fi|le by li|
|00004470| 6e 65 73 0a 6f 66 20 74 | 68 65 20 66 6f 72 6d 0a |nes.of t|he form.|
|00004480| 0a 20 20 20 20 20 20 20 | 20 23 69 6e 63 6c 75 64 |. | #includ|
|00004490| 65 20 22 66 69 6c 65 6e | 61 6d 65 22 0a 0a 54 68 |e "filen|ame"..Th|
|000044a0| 69 73 20 69 73 20 72 65 | 63 75 72 73 69 76 65 3b |is is re|cursive;|
|000044b0| 20 74 68 61 74 20 69 73 | 2c 20 23 69 6e 63 6c 75 | that is|, #inclu|
|000044c0| 64 65 20 64 69 72 65 63 | 74 69 76 65 73 20 69 6e |de direc|tives in|
|000044d0| 20 66 69 6c 65 73 20 74 | 68 75 73 20 69 6e 63 6c | files t|hus incl|
|000044e0| 75 64 65 64 20 61 72 65 | 0a 6f 62 65 79 65 64 2e |uded are|.obeyed.|
|000044f0| 20 20 59 6f 75 20 63 61 | 6e 20 63 68 61 6e 67 65 | You ca|n change|
|00004500| 20 74 68 65 20 22 23 69 | 6e 63 6c 75 64 65 22 20 | the "#i|nclude" |
|00004510| 74 6f 20 73 6f 6d 65 20 | 6f 74 68 65 72 20 73 74 |to some |other st|
|00004520| 72 69 6e 67 20 62 79 20 | 63 68 61 6e 67 69 6e 67 |ring by |changing|
|00004530| 0a 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 60 64 |.the var|iable `d|
|00004540| 69 61 72 79 2d 69 6e 63 | 6c 75 64 65 2d 73 74 72 |iary-inc|lude-str|
|00004550| 69 6e 67 27 2e 20 20 57 | 68 65 6e 20 79 6f 75 20 |ing'. W|hen you |
|00004560| 75 73 65 20 60 69 6e 63 | 6c 75 64 65 2d 6f 74 68 |use `inc|lude-oth|
|00004570| 65 72 2d 64 69 61 72 79 | 2d 66 69 6c 65 73 27 0a |er-diary|-files'.|
|00004580| 61 73 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 6c |as part |of the l|
|00004590| 69 73 74 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ist-diar|y-entrie|
|000045a0| 73 2d 68 6f 6f 6b 2c 20 | 79 6f 75 20 77 69 6c 6c |s-hook, |you will|
|000045b0| 20 70 72 6f 62 61 62 6c | 79 20 61 6c 73 6f 20 77 | probabl|y also w|
|000045c0| 61 6e 74 20 74 6f 20 75 | 73 65 20 74 68 65 0a 66 |ant to u|se the.f|
|000045d0| 75 6e 63 74 69 6f 6e 20 | 60 6d 61 72 6b 2d 69 6e |unction |`mark-in|
|000045e0| 63 6c 75 64 65 64 2d 64 | 69 61 72 79 2d 66 69 6c |cluded-d|iary-fil|
|000045f0| 65 73 27 20 61 73 20 70 | 61 72 74 20 6f 66 20 60 |es' as p|art of `|
|00004600| 6d 61 72 6b 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |mark-dia|ry-entri|
|00004610| 65 73 2d 68 6f 6f 6b 27 | 2e 0a 0a 46 6f 72 20 65 |es-hook'|...For e|
|00004620| 78 61 6d 70 6c 65 2c 20 | 79 6f 75 20 63 6f 75 6c |xample, |you coul|
|00004630| 64 20 75 73 65 0a 0a 20 | 20 20 20 20 28 73 65 74 |d use.. | (set|
|00004640| 71 20 6c 69 73 74 2d 64 | 69 61 72 79 2d 65 6e 74 |q list-d|iary-ent|
|00004650| 72 69 65 73 2d 68 6f 6f | 6b 0a 20 20 20 20 20 20 |ries-hoo|k. |
|00004660| 20 27 28 69 6e 63 6c 75 | 64 65 2d 6f 74 68 65 72 | '(inclu|de-other|
|00004670| 2d 64 69 61 72 79 2d 66 | 69 6c 65 73 20 73 6f 72 |-diary-f|iles sor|
|00004680| 74 2d 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 29 |t-diary-|entries)|
|00004690| 29 0a 20 20 20 20 20 28 | 73 65 74 71 20 64 69 61 |). (|setq dia|
|000046a0| 72 79 2d 64 69 73 70 6c | 61 79 2d 68 6f 6f 6b 20 |ry-displ|ay-hook |
|000046b0| 27 66 61 6e 63 79 2d 64 | 69 61 72 79 2d 64 69 73 |'fancy-d|iary-dis|
|000046c0| 70 6c 61 79 29 0a 0a 69 | 6e 20 79 6f 75 72 20 60 |play)..i|n your `|
|000046d0| 2e 65 6d 61 63 73 27 20 | 66 69 6c 65 20 74 6f 20 |.emacs' |file to |
|000046e0| 63 61 75 73 65 20 74 68 | 65 20 66 61 6e 63 79 20 |cause th|e fancy |
|000046f0| 64 69 61 72 79 20 62 75 | 66 66 65 72 20 74 6f 20 |diary bu|ffer to |
|00004700| 62 65 20 64 69 73 70 6c | 61 79 65 64 20 77 69 74 |be displ|ayed wit|
|00004710| 68 0a 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |h.diary |entries |
|00004720| 66 72 6f 6d 20 76 61 72 | 69 6f 75 73 20 69 6e 63 |from var|ious inc|
|00004730| 6c 75 64 65 64 20 66 69 | 6c 65 73 2c 20 65 61 63 |luded fi|les, eac|
|00004740| 68 20 64 61 79 27 73 20 | 65 6e 74 72 69 65 73 20 |h day's |entries |
|00004750| 73 6f 72 74 65 64 20 69 | 6e 74 6f 0a 6c 65 78 69 |sorted i|nto.lexi|
|00004760| 63 6f 67 72 61 70 68 69 | 63 20 6f 72 64 65 72 2e |cographi|c order.|
|00004770| 1f 0a 28 64 65 66 76 61 | 72 20 6c 69 73 74 2d 64 |..(defva|r list-d|
|00004780| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|00004790| 6b 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 31 37 31 |k nil (#|$ . -171|
|000047a0| 35 31 29 29 0a 23 40 31 | 30 31 20 2a 4c 69 73 74 |51)).#@1|01 *List|
|000047b0| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 63 61 | of func|tions ca|
|000047c0| 6c 6c 65 64 20 61 66 74 | 65 72 20 74 68 65 20 64 |lled aft|er the d|
|000047d0| 69 73 70 6c 61 79 20 6f | 66 20 74 68 65 20 64 69 |isplay o|f the di|
|000047e0| 61 72 79 2e 0a 43 61 6e | 20 62 65 20 75 73 65 64 |ary..Can| be used|
|000047f0| 20 66 6f 72 20 61 70 70 | 6f 69 6e 74 6d 65 6e 74 | for app|ointment|
|00004800| 20 6e 6f 74 69 66 69 63 | 61 74 69 6f 6e 2e 1f 0a | notific|ation...|
|00004810| 28 64 65 66 76 61 72 20 | 64 69 61 72 79 2d 68 6f |(defvar |diary-ho|
|00004820| 6f 6b 20 6e 69 6c 20 28 | 23 24 20 2e 20 2d 31 38 |ok nil (|#$ . -18|
|00004830| 33 34 37 29 29 0a 23 40 | 31 32 30 33 20 2a 4c 69 |347)).#@|1203 *Li|
|00004840| 73 74 20 6f 66 20 66 75 | 6e 63 74 69 6f 6e 73 20 |st of fu|nctions |
|00004850| 74 68 61 74 20 68 61 6e | 64 6c 65 20 74 68 65 20 |that han|dle the |
|00004860| 64 69 73 70 6c 61 79 20 | 6f 66 20 74 68 65 20 64 |display |of the d|
|00004870| 69 61 72 79 2e 0a 49 66 | 20 6e 69 6c 20 28 74 68 |iary..If| nil (th|
|00004880| 65 20 64 65 66 61 75 6c | 74 29 2c 20 60 73 69 6d |e defaul|t), `sim|
|00004890| 70 6c 65 2d 64 69 61 72 | 79 2d 64 69 73 70 6c 61 |ple-diar|y-displa|
|000048a0| 79 27 20 69 73 20 75 73 | 65 64 2e 20 20 55 73 65 |y' is us|ed. Use|
|000048b0| 20 60 69 67 6e 6f 72 65 | 27 20 66 6f 72 20 6e 6f | `ignore|' for no|
|000048c0| 0a 64 69 61 72 79 20 64 | 69 73 70 6c 61 79 2e 0a |.diary d|isplay..|
|000048d0| 0a 4f 72 64 69 6e 61 72 | 69 6c 79 2c 20 74 68 69 |.Ordinar|ily, thi|
|000048e0| 73 20 6a 75 73 74 20 64 | 69 73 70 6c 61 79 73 20 |s just d|isplays |
|000048f0| 74 68 65 20 64 69 61 72 | 79 20 62 75 66 66 65 72 |the diar|y buffer|
|00004900| 20 28 77 69 74 68 20 68 | 6f 6c 69 64 61 79 73 20 | (with h|olidays |
|00004910| 69 6e 64 69 63 61 74 65 | 64 20 69 6e 0a 74 68 65 |indicate|d in.the|
|00004920| 20 6d 6f 64 65 20 6c 69 | 6e 65 29 2c 20 69 66 20 | mode li|ne), if |
|00004930| 74 68 65 72 65 20 61 72 | 65 20 61 6e 79 20 72 65 |there ar|e any re|
|00004940| 6c 65 76 61 6e 74 20 65 | 6e 74 72 69 65 73 2e 20 |levant e|ntries. |
|00004950| 20 41 74 20 74 68 65 20 | 74 69 6d 65 20 74 68 65 | At the |time the|
|00004960| 73 65 0a 66 75 6e 63 74 | 69 6f 6e 73 20 61 72 65 |se.funct|ions are|
|00004970| 20 63 61 6c 6c 65 64 2c | 20 74 68 65 20 76 61 72 | called,| the var|
|00004980| 69 61 62 6c 65 20 60 64 | 69 61 72 79 2d 65 6e 74 |iable `d|iary-ent|
|00004990| 72 69 65 73 2d 6c 69 73 | 74 27 20 69 73 20 61 20 |ries-lis|t' is a |
|000049a0| 6c 69 73 74 2c 20 69 6e | 20 6f 72 64 65 72 0a 62 |list, in| order.b|
|000049b0| 79 20 64 61 74 65 2c 20 | 6f 66 20 61 6c 6c 20 72 |y date, |of all r|
|000049c0| 65 6c 65 76 61 6e 74 20 | 64 69 61 72 79 20 65 6e |elevant |diary en|
|000049d0| 74 72 69 65 73 20 69 6e | 20 74 68 65 20 66 6f 72 |tries in| the for|
|000049e0| 6d 20 6f 66 20 28 28 4d | 4f 4e 54 48 20 44 41 59 |m of ((M|ONTH DAY|
|000049f0| 20 59 45 41 52 29 0a 53 | 54 52 49 4e 47 29 2c 20 | YEAR).S|TRING), |
|00004a00| 77 68 65 72 65 20 73 74 | 72 69 6e 67 20 69 73 20 |where st|ring is |
|00004a10| 74 68 65 20 64 69 61 72 | 79 20 65 6e 74 72 79 20 |the diar|y entry |
|00004a20| 66 6f 72 20 74 68 65 20 | 67 69 76 65 6e 20 64 61 |for the |given da|
|00004a30| 74 65 2e 20 20 54 68 69 | 73 20 63 61 6e 20 62 65 |te. Thi|s can be|
|00004a40| 0a 75 73 65 64 2c 20 66 | 6f 72 20 65 78 61 6d 70 |.used, f|or examp|
|00004a50| 6c 65 2c 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 |le, a di|fferent |
|00004a60| 62 75 66 66 65 72 20 66 | 6f 72 20 64 69 73 70 6c |buffer f|or displ|
|00004a70| 61 79 20 28 70 65 72 68 | 61 70 73 20 63 6f 6d 62 |ay (perh|aps comb|
|00004a80| 69 6e 65 64 20 77 69 74 | 68 0a 68 6f 6c 69 64 61 |ined wit|h.holida|
|00004a90| 79 73 29 2c 20 6f 72 20 | 70 72 6f 64 75 63 65 20 |ys), or |produce |
|00004aa0| 68 61 72 64 20 63 6f 70 | 79 20 6f 75 74 70 75 74 |hard cop|y output|
|00004ab0| 2e 0a 0a 41 20 66 75 6e | 63 74 69 6f 6e 20 60 66 |...A fun|ction `f|
|00004ac0| 61 6e 63 79 2d 64 69 61 | 72 79 2d 64 69 73 70 6c |ancy-dia|ry-displ|
|00004ad0| 61 79 27 20 69 73 20 70 | 72 6f 76 69 64 65 64 20 |ay' is p|rovided |
|00004ae0| 61 73 20 61 6e 20 61 6c | 74 65 72 6e 61 74 69 76 |as an al|ternativ|
|00004af0| 65 0a 63 68 6f 69 63 65 | 20 66 6f 72 20 74 68 69 |e.choice| for thi|
|00004b00| 73 20 68 6f 6f 6b 3b 20 | 74 68 69 73 20 66 75 6e |s hook; |this fun|
|00004b10| 63 74 69 6f 6e 20 70 72 | 65 70 61 72 65 73 20 61 |ction pr|epares a|
|00004b20| 20 73 70 65 63 69 61 6c | 20 6e 6f 6e 65 64 69 74 | special| nonedit|
|00004b30| 61 62 6c 65 20 64 69 61 | 72 79 0a 62 75 66 66 65 |able dia|ry.buffe|
|00004b40| 72 20 77 69 74 68 20 74 | 68 65 20 72 65 6c 65 76 |r with t|he relev|
|00004b50| 61 6e 74 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |ant diar|y entrie|
|00004b60| 73 20 74 68 61 74 20 68 | 61 73 20 6e 65 61 74 20 |s that h|as neat |
|00004b70| 64 61 79 2d 62 79 2d 64 | 61 79 20 61 72 72 61 6e |day-by-d|ay arran|
|00004b80| 67 65 6d 65 6e 74 0a 77 | 69 74 68 20 68 65 61 64 |gement.w|ith head|
|00004b90| 69 6e 67 73 2e 20 20 54 | 68 65 20 66 61 6e 63 79 |ings. T|he fancy|
|00004ba0| 20 64 69 61 72 79 20 62 | 75 66 66 65 72 20 77 69 | diary b|uffer wi|
|00004bb0| 6c 6c 20 73 68 6f 77 20 | 74 68 65 20 68 6f 6c 69 |ll show |the holi|
|00004bc0| 64 61 79 73 20 75 6e 6c | 65 73 73 20 74 68 65 0a |days unl|ess the.|
|00004bd0| 76 61 72 69 61 62 6c 65 | 20 60 68 6f 6c 69 64 61 |variable| `holida|
|00004be0| 79 73 2d 69 6e 2d 64 69 | 61 72 79 2d 62 75 66 66 |ys-in-di|ary-buff|
|00004bf0| 65 72 27 20 69 73 20 73 | 65 74 20 74 6f 20 6e 69 |er' is s|et to ni|
|00004c00| 6c 2e 20 20 4f 72 64 69 | 6e 61 72 69 6c 79 2c 20 |l. Ordi|narily, |
|00004c10| 74 68 65 20 66 61 6e 63 | 79 0a 64 69 61 72 79 20 |the fanc|y.diary |
|00004c20| 62 75 66 66 65 72 20 77 | 69 6c 6c 20 6e 6f 74 20 |buffer w|ill not |
|00004c30| 73 68 6f 77 20 64 61 79 | 73 20 66 6f 72 20 77 68 |show day|s for wh|
|00004c40| 69 63 68 20 74 68 65 72 | 65 20 61 72 65 20 6e 6f |ich ther|e are no|
|00004c50| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 2c 20 | diary e|ntries, |
|00004c60| 65 76 65 6e 0a 69 66 20 | 74 68 61 74 20 64 61 79 |even.if |that day|
|00004c70| 20 69 73 20 61 20 68 6f | 6c 69 64 61 79 3b 20 69 | is a ho|liday; i|
|00004c80| 66 20 79 6f 75 20 77 61 | 6e 74 20 73 75 63 68 20 |f you wa|nt such |
|00004c90| 64 61 79 73 20 74 6f 20 | 62 65 20 73 68 6f 77 6e |days to |be shown|
|00004ca0| 20 69 6e 20 74 68 65 20 | 66 61 6e 63 79 0a 64 69 | in the |fancy.di|
|00004cb0| 61 72 79 20 62 75 66 66 | 65 72 2c 20 73 65 74 20 |ary buff|er, set |
|00004cc0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 64 69 |the vari|able `di|
|00004cd0| 61 72 79 2d 6c 69 73 74 | 2d 69 6e 63 6c 75 64 65 |ary-list|-include|
|00004ce0| 2d 62 6c 61 6e 6b 73 27 | 20 74 6f 20 74 2e 1f 0a |-blanks'| to t...|
|00004cf0| 28 64 65 66 76 61 72 20 | 64 69 61 72 79 2d 64 69 |(defvar |diary-di|
|00004d00| 73 70 6c 61 79 2d 68 6f | 6f 6b 20 6e 69 6c 20 28 |splay-ho|ok nil (|
|00004d10| 23 24 20 2e 20 2d 31 38 | 34 39 33 29 29 0a 23 40 |#$ . -18|493)).#@|
|00004d20| 33 34 32 20 2a 4c 69 73 | 74 20 6f 66 20 66 75 6e |342 *Lis|t of fun|
|00004d30| 63 74 69 6f 6e 73 20 63 | 61 6c 6c 65 64 20 66 6f |ctions c|alled fo|
|00004d40| 72 20 6c 69 73 74 69 6e | 67 20 64 69 61 72 79 20 |r listin|g diary |
|00004d50| 66 69 6c 65 20 61 6e 64 | 20 69 6e 63 6c 75 64 65 |file and| include|
|00004d60| 64 20 66 69 6c 65 73 2e | 0a 41 73 20 74 68 65 20 |d files.|.As the |
|00004d70| 66 69 6c 65 73 20 61 72 | 65 20 70 72 6f 63 65 73 |files ar|e proces|
|00004d80| 73 65 64 20 66 6f 72 20 | 64 69 61 72 79 20 65 6e |sed for |diary en|
|00004d90| 74 72 69 65 73 2c 20 74 | 68 65 73 65 20 66 75 6e |tries, t|hese fun|
|00004da0| 63 74 69 6f 6e 73 20 61 | 72 65 20 75 73 65 64 20 |ctions a|re used |
|00004db0| 74 6f 20 63 75 6c 6c 0a | 72 65 6c 65 76 61 6e 74 |to cull.|relevant|
|00004dc0| 20 65 6e 74 72 69 65 73 | 2e 20 20 59 6f 75 20 63 | entries|. You c|
|00004dd0| 61 6e 20 75 73 65 20 65 | 69 74 68 65 72 20 6f 72 |an use e|ither or|
|00004de0| 20 62 6f 74 68 20 6f 66 | 20 60 6c 69 73 74 2d 68 | both of| `list-h|
|00004df0| 65 62 72 65 77 2d 64 69 | 61 72 79 2d 65 6e 74 72 |ebrew-di|ary-entr|
|00004e00| 69 65 73 27 0a 61 6e 64 | 20 60 6c 69 73 74 2d 69 |ies'.and| `list-i|
|00004e10| 73 6c 61 6d 69 63 2d 64 | 69 61 72 79 2d 65 6e 74 |slamic-d|iary-ent|
|00004e20| 72 69 65 73 27 2e 20 20 | 54 68 65 20 64 6f 63 75 |ries'. |The docu|
|00004e30| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 74 68 |mentatio|n for th|
|00004e40| 65 73 65 20 66 75 6e 63 | 74 69 6f 6e 73 0a 64 65 |ese func|tions.de|
|00004e50| 73 63 72 69 62 65 73 20 | 74 68 65 20 73 74 79 6c |scribes |the styl|
|00004e60| 65 20 6f 66 20 73 75 63 | 68 20 64 69 61 72 79 20 |e of suc|h diary |
|00004e70| 65 6e 74 72 69 65 73 2e | 1f 0a 28 64 65 66 76 61 |entries.|..(defva|
|00004e80| 72 20 6e 6f 6e 67 72 65 | 67 6f 72 69 61 6e 2d 64 |r nongre|gorian-d|
|00004e90| 69 61 72 79 2d 6c 69 73 | 74 69 6e 67 2d 68 6f 6f |iary-lis|ting-hoo|
|00004ea0| 6b 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 31 39 37 |k nil (#|$ . -197|
|00004eb0| 34 38 29 29 0a 23 40 37 | 31 35 20 2a 4c 69 73 74 |48)).#@7|15 *List|
|00004ec0| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 63 61 | of func|tions ca|
|00004ed0| 6c 6c 65 64 20 61 66 74 | 65 72 20 6d 61 72 6b 69 |lled aft|er marki|
|00004ee0| 6e 67 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |ng diary| entries|
|00004ef0| 20 69 6e 20 74 68 65 20 | 63 61 6c 65 6e 64 61 72 | in the |calendar|
|00004f00| 2e 0a 0a 41 20 66 75 6e | 63 74 69 6f 6e 20 60 6d |...A fun|ction `m|
|00004f10| 61 72 6b 2d 69 6e 63 6c | 75 64 65 64 2d 64 69 61 |ark-incl|uded-dia|
|00004f20| 72 79 2d 66 69 6c 65 73 | 27 20 69 73 20 61 6c 73 |ry-files|' is als|
|00004f30| 6f 20 70 72 6f 76 69 64 | 65 64 20 66 6f 72 20 75 |o provid|ed for u|
|00004f40| 73 65 20 61 73 20 74 68 | 65 0a 6d 61 72 6b 2d 64 |se as th|e.mark-d|
|00004f50| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|00004f60| 6b 3b 20 69 74 20 65 6e | 61 62 6c 65 73 20 79 6f |k; it en|ables yo|
|00004f70| 75 20 74 6f 20 75 73 65 | 20 73 68 61 72 65 64 20 |u to use| shared |
|00004f80| 64 69 61 72 79 20 66 69 | 6c 65 73 20 74 6f 67 65 |diary fi|les toge|
|00004f90| 74 68 65 72 0a 77 69 74 | 68 20 79 6f 75 72 20 6f |ther.wit|h your o|
|00004fa0| 77 6e 2e 20 20 54 68 65 | 20 66 69 6c 65 73 20 69 |wn. The| files i|
|00004fb0| 6e 63 6c 75 64 65 64 20 | 61 72 65 20 73 70 65 63 |ncluded |are spec|
|00004fc0| 69 66 69 65 64 20 69 6e | 20 74 68 65 20 64 69 61 |ified in| the dia|
|00004fd0| 72 79 20 66 69 6c 65 20 | 62 79 20 6c 69 6e 65 73 |ry file |by lines|
|00004fe0| 0a 6f 66 20 74 68 65 20 | 66 6f 72 6d 0a 20 20 20 |.of the |form. |
|00004ff0| 20 20 20 20 20 23 69 6e | 63 6c 75 64 65 20 22 66 | #in|clude "f|
|00005000| 69 6c 65 6e 61 6d 65 22 | 0a 54 68 69 73 20 69 73 |ilename"|.This is|
|00005010| 20 72 65 63 75 72 73 69 | 76 65 3b 20 74 68 61 74 | recursi|ve; that|
|00005020| 20 69 73 2c 20 23 69 6e | 63 6c 75 64 65 20 64 69 | is, #in|clude di|
|00005030| 72 65 63 74 69 76 65 73 | 20 69 6e 20 66 69 6c 65 |rectives| in file|
|00005040| 73 20 74 68 75 73 20 69 | 6e 63 6c 75 64 65 64 20 |s thus i|ncluded |
|00005050| 61 72 65 0a 6f 62 65 79 | 65 64 2e 20 20 59 6f 75 |are.obey|ed. You|
|00005060| 20 63 61 6e 20 63 68 61 | 6e 67 65 20 74 68 65 20 | can cha|nge the |
|00005070| 22 23 69 6e 63 6c 75 64 | 65 22 20 74 6f 20 73 6f |"#includ|e" to so|
|00005080| 6d 65 20 6f 74 68 65 72 | 20 73 74 72 69 6e 67 20 |me other| string |
|00005090| 62 79 20 63 68 61 6e 67 | 69 6e 67 20 74 68 65 0a |by chang|ing the.|
|000050a0| 76 61 72 69 61 62 6c 65 | 20 60 64 69 61 72 79 2d |variable| `diary-|
|000050b0| 69 6e 63 6c 75 64 65 2d | 73 74 72 69 6e 67 27 2e |include-|string'.|
|000050c0| 20 20 57 68 65 6e 20 79 | 6f 75 20 75 73 65 20 60 | When y|ou use `|
|000050d0| 6d 61 72 6b 2d 69 6e 63 | 6c 75 64 65 64 2d 64 69 |mark-inc|luded-di|
|000050e0| 61 72 79 2d 66 69 6c 65 | 73 27 20 61 73 0a 70 61 |ary-file|s' as.pa|
|000050f0| 72 74 20 6f 66 20 74 68 | 65 20 6d 61 72 6b 2d 64 |rt of th|e mark-d|
|00005100| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|00005110| 6b 2c 20 79 6f 75 20 77 | 69 6c 6c 20 70 72 6f 62 |k, you w|ill prob|
|00005120| 61 62 6c 79 20 61 6c 73 | 6f 20 77 61 6e 74 20 74 |ably als|o want t|
|00005130| 6f 20 75 73 65 20 74 68 | 65 0a 66 75 6e 63 74 69 |o use th|e.functi|
|00005140| 6f 6e 20 60 69 6e 63 6c | 75 64 65 2d 6f 74 68 65 |on `incl|ude-othe|
|00005150| 72 2d 64 69 61 72 79 2d | 66 69 6c 65 73 27 20 61 |r-diary-|files' a|
|00005160| 73 20 70 61 72 74 20 6f | 66 20 60 6c 69 73 74 2d |s part o|f `list-|
|00005170| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 2d 68 6f |diary-en|tries-ho|
|00005180| 6f 6b 27 2e 1f 0a 28 64 | 65 66 76 61 72 20 6d 61 |ok'...(d|efvar ma|
|00005190| 72 6b 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |rk-diary|-entries|
|000051a0| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 28 23 24 20 2e 20 |-hook ni|l (#$ . |
|000051b0| 2d 32 30 31 35 35 29 29 | 0a 23 40 33 34 32 20 2a |-20155))|.#@342 *|
|000051c0| 4c 69 73 74 20 6f 66 20 | 66 75 6e 63 74 69 6f 6e |List of |function|
|000051d0| 73 20 63 61 6c 6c 65 64 | 20 66 6f 72 20 6d 61 72 |s called| for mar|
|000051e0| 6b 69 6e 67 20 64 69 61 | 72 79 20 66 69 6c 65 20 |king dia|ry file |
|000051f0| 61 6e 64 20 69 6e 63 6c | 75 64 65 64 20 66 69 6c |and incl|uded fil|
|00005200| 65 73 2e 0a 41 73 20 74 | 68 65 20 66 69 6c 65 73 |es..As t|he files|
|00005210| 20 61 72 65 20 70 72 6f | 63 65 73 73 65 64 20 66 | are pro|cessed f|
|00005220| 6f 72 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |or diary| entries|
|00005230| 2c 20 74 68 65 73 65 20 | 66 75 6e 63 74 69 6f 6e |, these |function|
|00005240| 73 20 61 72 65 20 75 73 | 65 64 20 74 6f 20 63 75 |s are us|ed to cu|
|00005250| 6c 6c 0a 72 65 6c 65 76 | 61 6e 74 20 65 6e 74 72 |ll.relev|ant entr|
|00005260| 69 65 73 2e 20 20 59 6f | 75 20 63 61 6e 20 75 73 |ies. Yo|u can us|
|00005270| 65 20 65 69 74 68 65 72 | 20 6f 72 20 62 6f 74 68 |e either| or both|
|00005280| 20 6f 66 20 60 6d 61 72 | 6b 2d 68 65 62 72 65 77 | of `mar|k-hebrew|
|00005290| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 27 0a |-diary-e|ntries'.|
|000052a0| 61 6e 64 20 60 6d 61 72 | 6b 2d 69 73 6c 61 6d 69 |and `mar|k-islami|
|000052b0| 63 2d 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 27 |c-diary-|entries'|
|000052c0| 2e 20 20 54 68 65 20 64 | 6f 63 75 6d 65 6e 74 61 |. The d|ocumenta|
|000052d0| 74 69 6f 6e 20 66 6f 72 | 20 74 68 65 73 65 20 66 |tion for| these f|
|000052e0| 75 6e 63 74 69 6f 6e 73 | 0a 64 65 73 63 72 69 62 |unctions|.describ|
|000052f0| 65 73 20 74 68 65 20 73 | 74 79 6c 65 20 6f 66 20 |es the s|tyle of |
|00005300| 73 75 63 68 20 64 69 61 | 72 79 20 65 6e 74 72 69 |such dia|ry entri|
|00005310| 65 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 6e 6f 6e |es...(de|fvar non|
|00005320| 67 72 65 67 6f 72 69 61 | 6e 2d 64 69 61 72 79 2d |gregoria|n-diary-|
|00005330| 6d 61 72 6b 69 6e 67 2d | 68 6f 6f 6b 20 6e 69 6c |marking-|hook nil|
|00005340| 20 28 23 24 20 2e 20 2d | 32 30 39 32 37 29 29 0a | (#$ . -|20927)).|
|00005350| 23 40 31 37 31 20 2a 49 | 66 20 6e 69 6c 2c 20 64 |#@171 *I|f nil, d|
|00005360| 6f 20 6e 6f 74 20 69 6e | 63 6c 75 64 65 20 64 61 |o not in|clude da|
|00005370| 79 73 20 77 69 74 68 20 | 6e 6f 20 64 69 61 72 79 |ys with |no diary|
|00005380| 20 65 6e 74 72 79 20 69 | 6e 20 74 68 65 20 6c 69 | entry i|n the li|
|00005390| 73 74 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |st of di|ary entr|
|000053a0| 69 65 73 2e 0a 53 75 63 | 68 20 64 61 79 73 20 77 |ies..Suc|h days w|
|000053b0| 69 6c 6c 20 74 68 65 6e | 20 6e 6f 74 20 62 65 20 |ill then| not be |
|000053c0| 73 68 6f 77 6e 20 69 6e | 20 74 68 65 20 74 68 65 |shown in| the the|
|000053d0| 20 66 61 6e 63 79 20 64 | 69 61 72 79 20 62 75 66 | fancy d|iary buf|
|000053e0| 66 65 72 2c 20 65 76 65 | 6e 20 69 66 20 74 68 65 |fer, eve|n if the|
|000053f0| 79 0a 61 72 65 20 68 6f | 6c 69 64 61 79 73 2e 1f |y.are ho|lidays..|
|00005400| 0a 28 64 65 66 76 61 72 | 20 64 69 61 72 79 2d 6c |.(defvar| diary-l|
|00005410| 69 73 74 2d 69 6e 63 6c | 75 64 65 2d 62 6c 61 6e |ist-incl|ude-blan|
|00005420| 6b 73 20 6e 69 6c 20 28 | 23 24 20 2e 20 2d 32 31 |ks nil (|#$ . -21|
|00005430| 33 33 34 29 29 0a 23 40 | 32 35 37 20 2a 4e 6f 6e |334)).#@|257 *Non|
|00005440| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 69 6e 63 6c 75 |-nil mea|ns inclu|
|00005450| 64 65 20 68 6f 6c 69 64 | 61 79 73 20 69 6e 20 74 |de holid|ays in t|
|00005460| 68 65 20 64 69 61 72 79 | 20 64 69 73 70 6c 61 79 |he diary| display|
|00005470| 2e 0a 54 68 65 20 68 6f | 6c 69 64 61 79 73 20 61 |..The ho|lidays a|
|00005480| 70 70 65 61 72 20 69 6e | 20 74 68 65 20 6d 6f 64 |ppear in| the mod|
|00005490| 65 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 64 69 |e line o|f the di|
|000054a0| 61 72 79 20 62 75 66 66 | 65 72 2c 20 6f 72 20 69 |ary buff|er, or i|
|000054b0| 6e 20 74 68 65 0a 66 61 | 6e 63 79 20 64 69 61 72 |n the.fa|ncy diar|
|000054c0| 79 20 62 75 66 66 65 72 | 20 6e 65 78 74 20 74 6f |y buffer| next to|
|000054d0| 20 74 68 65 20 64 61 74 | 65 2e 20 20 54 68 69 73 | the dat|e. This|
|000054e0| 20 73 6c 6f 77 73 20 64 | 6f 77 6e 20 74 68 65 20 | slows d|own the |
|000054f0| 64 69 61 72 79 20 66 75 | 6e 63 74 69 6f 6e 73 0a |diary fu|nctions.|
|00005500| 73 6f 6d 65 77 68 61 74 | 3b 20 73 65 74 74 69 6e |somewhat|; settin|
|00005510| 67 20 69 74 20 74 6f 20 | 6e 69 6c 20 6d 61 6b 65 |g it to |nil make|
|00005520| 73 20 74 68 65 20 64 69 | 61 72 79 20 64 69 73 70 |s the di|ary disp|
|00005530| 6c 61 79 20 66 61 73 74 | 65 72 2e 1f 0a 28 64 65 |lay fast|er...(de|
|00005540| 66 76 61 72 20 68 6f 6c | 69 64 61 79 73 2d 69 6e |fvar hol|idays-in|
|00005550| 2d 64 69 61 72 79 2d 62 | 75 66 66 65 72 20 74 20 |-diary-b|uffer t |
|00005560| 28 23 24 20 2e 20 2d 32 | 31 35 36 34 29 29 0a 28 |(#$ . -2|1564)).(|
|00005570| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 21 84 08 |byte-cod|e "..!..|
|00005580| 00 c2 11 c1 0b 42 13 c4 | c5 c6 c7 23 87 22 20 5b |.....B..|...#." [|
|00005590| 62 6f 75 6e 64 70 20 63 | 61 6c 65 6e 64 61 72 2d |boundp c|alendar-|
|000055a0| 6d 61 72 6b 2d 72 69 6e | 67 20 6e 69 6c 20 63 75 |mark-rin|g nil cu|
|000055b0| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 20 |rrent-lo|ad-list |
|000055c0| 70 75 74 20 67 65 6e 65 | 72 61 6c 2d 68 6f 6c 69 |put gene|ral-holi|
|000055d0| 64 61 79 73 20 72 69 73 | 6b 79 2d 6c 6f 63 61 6c |days ris|ky-local|
|000055e0| 2d 76 61 72 69 61 62 6c | 65 20 74 5d 20 34 29 0a |-variabl|e t] 4).|
|000055f0| 23 40 31 32 30 20 2a 47 | 65 6e 65 72 61 6c 20 68 |#@120 *G|eneral h|
|00005600| 6f 6c 69 64 61 79 73 2e | 20 20 44 65 66 61 75 6c |olidays.| Defaul|
|00005610| 74 20 76 61 6c 75 65 20 | 69 73 20 66 6f 72 20 74 |t value |is for t|
|00005620| 68 65 20 55 6e 69 74 65 | 64 20 53 74 61 74 65 73 |he Unite|d States|
|00005630| 2e 0a 53 65 65 20 74 68 | 65 20 64 6f 63 75 6d 65 |..See th|e docume|
|00005640| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 60 63 61 6c |ntation |for `cal|
|00005650| 65 6e 64 61 72 2d 68 6f | 6c 69 64 61 79 73 27 20 |endar-ho|lidays' |
|00005660| 66 6f 72 20 64 65 74 61 | 69 6c 73 2e 1f 0a 28 64 |for deta|ils...(d|
|00005670| 65 66 76 61 72 20 67 65 | 6e 65 72 61 6c 2d 68 6f |efvar ge|neral-ho|
|00005680| 6c 69 64 61 79 73 20 28 | 71 75 6f 74 65 20 28 28 |lidays (|quote ((|
|00005690| 68 6f 6c 69 64 61 79 2d | 66 69 78 65 64 20 31 20 |holiday-|fixed 1 |
|000056a0| 31 20 22 4e 65 77 20 59 | 65 61 72 27 73 20 44 61 |1 "New Y|ear's Da|
|000056b0| 79 22 29 20 28 68 6f 6c | 69 64 61 79 2d 66 6c 6f |y") (hol|iday-flo|
|000056c0| 61 74 20 31 20 31 20 33 | 20 22 4d 61 72 74 69 6e |at 1 1 3| "Martin|
|000056d0| 20 4c 75 74 68 65 72 20 | 4b 69 6e 67 20 44 61 79 | Luther |King Day|
|000056e0| 22 29 20 28 68 6f 6c 69 | 64 61 79 2d 66 69 78 65 |") (holi|day-fixe|
|000056f0| 64 20 32 20 32 20 22 47 | 72 6f 75 6e 64 20 48 6f |d 2 2 "G|round Ho|
|00005700| 67 20 44 61 79 22 29 20 | 28 68 6f 6c 69 64 61 79 |g Day") |(holiday|
|00005710| 2d 66 69 78 65 64 20 32 | 20 31 34 20 22 56 61 6c |-fixed 2| 14 "Val|
|00005720| 65 6e 74 69 6e 65 27 73 | 20 44 61 79 22 29 20 28 |entine's| Day") (|
|00005730| 68 6f 6c 69 64 61 79 2d | 66 6c 6f 61 74 20 32 20 |holiday-|float 2 |
|00005740| 31 20 33 20 22 50 72 65 | 73 69 64 65 6e 74 27 73 |1 3 "Pre|sident's|
|00005750| 20 44 61 79 22 29 20 28 | 68 6f 6c 69 64 61 79 2d | Day") (|holiday-|
|00005760| 66 69 78 65 64 20 33 20 | 31 37 20 22 53 74 2e 20 |fixed 3 |17 "St. |
|00005770| 50 61 74 72 69 63 6b 27 | 73 20 44 61 79 22 29 20 |Patrick'|s Day") |
|00005780| 28 68 6f 6c 69 64 61 79 | 2d 66 69 78 65 64 20 34 |(holiday|-fixed 4|
|00005790| 20 31 20 22 41 70 72 69 | 6c 20 46 6f 6f 6c 73 27 | 1 "Apri|l Fools'|
|000057a0| 20 44 61 79 22 29 20 28 | 68 6f 6c 69 64 61 79 2d | Day") (|holiday-|
|000057b0| 66 6c 6f 61 74 20 35 20 | 30 20 32 20 22 4d 6f 74 |float 5 |0 2 "Mot|
|000057c0| 68 65 72 27 73 20 44 61 | 79 22 29 20 28 68 6f 6c |her's Da|y") (hol|
|000057d0| 69 64 61 79 2d 66 6c 6f | 61 74 20 35 20 31 20 2d |iday-flo|at 5 1 -|
|000057e0| 31 20 22 4d 65 6d 6f 72 | 69 61 6c 20 44 61 79 22 |1 "Memor|ial Day"|
|000057f0| 29 20 28 68 6f 6c 69 64 | 61 79 2d 66 69 78 65 64 |) (holid|ay-fixed|
|00005800| 20 36 20 31 34 20 22 46 | 6c 61 67 20 44 61 79 22 | 6 14 "F|lag Day"|
|00005810| 29 20 28 68 6f 6c 69 64 | 61 79 2d 66 6c 6f 61 74 |) (holid|ay-float|
|00005820| 20 36 20 30 20 33 20 22 | 46 61 74 68 65 72 27 73 | 6 0 3 "|Father's|
|00005830| 20 44 61 79 22 29 20 28 | 68 6f 6c 69 64 61 79 2d | Day") (|holiday-|
|00005840| 66 69 78 65 64 20 37 20 | 34 20 22 49 6e 64 65 70 |fixed 7 |4 "Indep|
|00005850| 65 6e 64 65 6e 63 65 20 | 44 61 79 22 29 20 28 68 |endence |Day") (h|
|00005860| 6f 6c 69 64 61 79 2d 66 | 6c 6f 61 74 20 39 20 31 |oliday-f|loat 9 1|
|00005870| 20 31 20 22 4c 61 62 6f | 72 20 44 61 79 22 29 20 | 1 "Labo|r Day") |
|00005880| 28 68 6f 6c 69 64 61 79 | 2d 66 6c 6f 61 74 20 31 |(holiday|-float 1|
|00005890| 30 20 31 20 32 20 22 43 | 6f 6c 75 6d 62 75 73 20 |0 1 2 "C|olumbus |
|000058a0| 44 61 79 22 29 20 28 68 | 6f 6c 69 64 61 79 2d 66 |Day") (h|oliday-f|
|000058b0| 69 78 65 64 20 31 30 20 | 33 31 20 22 48 61 6c 6c |ixed 10 |31 "Hall|
|000058c0| 6f 77 65 65 6e 22 29 20 | 28 68 6f 6c 69 64 61 79 |oween") |(holiday|
|000058d0| 2d 66 69 78 65 64 20 31 | 31 20 31 31 20 22 56 65 |-fixed 1|1 11 "Ve|
|000058e0| 74 65 72 61 6e 27 73 20 | 44 61 79 22 29 20 28 68 |teran's |Day") (h|
|000058f0| 6f 6c 69 64 61 79 2d 66 | 6c 6f 61 74 20 31 31 20 |oliday-f|loat 11 |
|00005900| 34 20 34 20 22 54 68 61 | 6e 6b 73 67 69 76 69 6e |4 4 "Tha|nksgivin|
|00005910| 67 22 29 29 29 20 28 23 | 24 20 2e 20 2d 32 32 30 |g"))) (#|$ . -220|
|00005920| 30 36 29 29 0a 28 70 75 | 74 20 28 71 75 6f 74 65 |06)).(pu|t (quote|
|00005930| 20 6f 72 69 65 6e 74 61 | 6c 2d 68 6f 6c 69 64 61 | orienta|l-holida|
|00005940| 79 73 29 20 28 71 75 6f | 74 65 20 72 69 73 6b 79 |ys) (quo|te risky|
|00005950| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 29 |-local-v|ariable)|
|00005960| 20 74 29 0a 23 40 38 30 | 20 2a 4f 72 69 65 6e 74 | t).#@80| *Orient|
|00005970| 61 6c 20 68 6f 6c 69 64 | 61 79 73 2e 0a 53 65 65 |al holid|ays..See|
|00005980| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00005990| 6f 6e 20 66 6f 72 20 60 | 63 61 6c 65 6e 64 61 72 |on for `|calendar|
|000059a0| 2d 68 6f 6c 69 64 61 79 | 73 27 20 66 6f 72 20 64 |-holiday|s' for d|
|000059b0| 65 74 61 69 6c 73 2e 1f | 0a 28 64 65 66 76 61 72 |etails..|.(defvar|
|000059c0| 20 6f 72 69 65 6e 74 61 | 6c 2d 68 6f 6c 69 64 61 | orienta|l-holida|
|000059d0| 79 73 20 28 71 75 6f 74 | 65 20 28 28 69 66 20 28 |ys (quot|e ((if (|
|000059e0| 66 62 6f 75 6e 64 70 20 | 28 71 75 6f 74 65 20 61 |fboundp |(quote a|
|000059f0| 74 61 6e 29 29 20 28 68 | 6f 6c 69 64 61 79 2d 63 |tan)) (h|oliday-c|
|00005a00| 68 69 6e 65 73 65 2d 6e | 65 77 2d 79 65 61 72 29 |hinese-n|ew-year)|
|00005a10| 29 29 29 20 28 23 24 20 | 2e 20 2d 32 32 38 38 39 |))) (#$ |. -22889|
|00005a20| 29 29 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 6c |)).(put |(quote l|
|00005a30| 6f 63 61 6c 2d 68 6f 6c | 69 64 61 79 73 29 20 28 |ocal-hol|idays) (|
|00005a40| 71 75 6f 74 65 20 72 69 | 73 6b 79 2d 6c 6f 63 61 |quote ri|sky-loca|
|00005a50| 6c 2d 76 61 72 69 61 62 | 6c 65 29 20 74 29 0a 23 |l-variab|le) t).#|
|00005a60| 40 37 37 20 2a 4c 6f 63 | 61 6c 20 68 6f 6c 69 64 |@77 *Loc|al holid|
|00005a70| 61 79 73 2e 0a 53 65 65 | 20 74 68 65 20 64 6f 63 |ays..See| the doc|
|00005a80| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 60 |umentati|on for `|
|00005a90| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00005aa0| 73 27 20 66 6f 72 20 64 | 65 74 61 69 6c 73 2e 1f |s' for d|etails..|
|00005ab0| 0a 28 64 65 66 76 61 72 | 20 6c 6f 63 61 6c 2d 68 |.(defvar| local-h|
|00005ac0| 6f 6c 69 64 61 79 73 20 | 6e 69 6c 20 28 23 24 20 |olidays |nil (#$ |
|00005ad0| 2e 20 2d 32 33 31 34 30 | 29 29 0a 28 70 75 74 20 |. -23140|)).(put |
|00005ae0| 28 71 75 6f 74 65 20 6f | 74 68 65 72 2d 68 6f 6c |(quote o|ther-hol|
|00005af0| 69 64 61 79 73 29 20 28 | 71 75 6f 74 65 20 72 69 |idays) (|quote ri|
|00005b00| 73 6b 79 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |sky-loca|l-variab|
|00005b10| 6c 65 29 20 74 29 0a 23 | 40 38 34 20 2a 55 73 65 |le) t).#|@84 *Use|
|00005b20| 72 20 64 65 66 69 6e 65 | 64 20 68 6f 6c 69 64 61 |r define|d holida|
|00005b30| 79 73 2e 0a 53 65 65 20 | 74 68 65 20 64 6f 63 75 |ys..See |the docu|
|00005b40| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 60 63 |mentatio|n for `c|
|00005b50| 61 6c 65 6e 64 61 72 2d | 68 6f 6c 69 64 61 79 73 |alendar-|holidays|
|00005b60| 27 20 66 6f 72 20 64 65 | 74 61 69 6c 73 2e 1f 0a |' for de|tails...|
|00005b70| 28 64 65 66 76 61 72 20 | 6f 74 68 65 72 2d 68 6f |(defvar |other-ho|
|00005b80| 6c 69 64 61 79 73 20 6e | 69 6c 20 28 23 24 20 2e |lidays n|il (#$ .|
|00005b90| 20 2d 32 33 33 32 34 29 | 29 0a 28 62 79 74 65 2d | -23324)|).(byte-|
|00005ba0| 63 6f 64 65 20 22 c0 c1 | c2 c3 23 88 c4 c1 21 84 |code "..|..#...!.|
|00005bb0| 0e 00 c5 11 c1 0e 06 42 | 16 06 c0 c7 c2 c3 23 88 |.......B|......#.|
|00005bc0| c4 c7 21 84 23 00 c8 16 | 07 c7 0e 06 42 16 06 c0 |..!.#...|....B...|
|00005bd0| c9 c2 c3 23 88 c4 c9 21 | 84 38 00 ca 16 09 c9 0e |...#...!|.8......|
|00005be0| 06 42 16 06 c0 cb c2 c3 | 23 88 c4 cb 21 84 4d 00 |.B......|#...!.M.|
|00005bf0| cc 16 0b cb 0e 06 42 16 | 06 c0 cd c2 c3 23 87 22 |......B.|.....#."|
|00005c00| 20 5b 70 75 74 20 68 65 | 62 72 65 77 2d 68 6f 6c | [put he|brew-hol|
|00005c10| 69 64 61 79 73 2d 31 20 | 72 69 73 6b 79 2d 6c 6f |idays-1 |risky-lo|
|00005c20| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 20 74 20 62 |cal-vari|able t b|
|00005c30| 6f 75 6e 64 70 20 28 28 | 68 6f 6c 69 64 61 79 2d |oundp ((|holiday-|
|00005c40| 72 6f 73 68 2d 68 61 73 | 68 61 6e 61 68 2d 65 74 |rosh-has|hanah-et|
|00005c50| 63 29 20 28 69 66 20 61 | 6c 6c 2d 68 65 62 72 65 |c) (if a|ll-hebre|
|00005c60| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |w-calend|ar-holid|
|00005c70| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 6a 75 6c |ays (hol|iday-jul|
|00005c80| 69 61 6e 20 31 31 20 28 | 6c 65 74 2a 20 28 28 6d |ian 11 (|let* ((m|
|00005c90| 20 64 69 73 70 6c 61 79 | 65 64 2d 6d 6f 6e 74 68 | display|ed-month|
|00005ca0| 29 20 28 79 20 64 69 73 | 70 6c 61 79 65 64 2d 79 |) (y dis|played-y|
|00005cb0| 65 61 72 29 20 28 79 65 | 61 72 29 29 20 28 69 6e |ear) (ye|ar)) (in|
|00005cc0| 63 72 65 6d 65 6e 74 2d | 63 61 6c 65 6e 64 61 72 |crement-|calendar|
|00005cd0| 2d 6d 6f 6e 74 68 20 6d | 20 79 20 2d 31 29 20 28 |-month m| y -1) (|
|00005ce0| 6c 65 74 20 28 28 79 65 | 61 72 20 28 65 78 74 72 |let ((ye|ar (extr|
|00005cf0| 61 63 74 2d 63 61 6c 65 | 6e 64 61 72 2d 79 65 61 |act-cale|ndar-yea|
|00005d00| 72 20 28 63 61 6c 65 6e | 64 61 72 2d 6a 75 6c 69 |r (calen|dar-juli|
|00005d10| 61 6e 2d 66 72 6f 6d 2d | 61 62 73 6f 6c 75 74 65 |an-from-|absolute|
|00005d20| 20 28 63 61 6c 65 6e 64 | 61 72 2d 61 62 73 6f 6c | (calend|ar-absol|
|00005d30| 75 74 65 2d 66 72 6f 6d | 2d 67 72 65 67 6f 72 69 |ute-from|-gregori|
|00005d40| 61 6e 20 28 6c 69 73 74 | 20 6d 20 31 20 79 29 29 |an (list| m 1 y))|
|00005d50| 29 29 29 29 20 28 69 66 | 20 28 7a 65 72 6f 70 20 |)))) (if| (zerop |
|00005d60| 28 25 20 28 31 2b 20 79 | 65 61 72 29 20 34 29 29 |(% (1+ y|ear) 4))|
|00005d70| 20 32 32 20 32 31 29 29 | 29 20 22 5c 22 54 61 6c | 22 21))|) "\"Tal|
|00005d80| 20 55 6d 61 74 61 72 5c | 22 20 28 65 76 65 6e 69 | Umatar\|" (eveni|
|00005d90| 6e 67 29 22 29 29 29 20 | 63 75 72 72 65 6e 74 2d |ng)"))) |current-|
|00005da0| 6c 6f 61 64 2d 6c 69 73 | 74 20 68 65 62 72 65 77 |load-lis|t hebrew|
|00005db0| 2d 68 6f 6c 69 64 61 79 | 73 2d 32 20 28 28 69 66 |-holiday|s-2 ((if|
|00005dc0| 20 61 6c 6c 2d 68 65 62 | 72 65 77 2d 63 61 6c 65 | all-heb|rew-cale|
|00005dd0| 6e 64 61 72 2d 68 6f 6c | 69 64 61 79 73 20 28 68 |ndar-hol|idays (h|
|00005de0| 6f 6c 69 64 61 79 2d 68 | 61 6e 75 6b 6b 61 68 29 |oliday-h|anukkah)|
|00005df0| 20 28 68 6f 6c 69 64 61 | 79 2d 68 65 62 72 65 77 | (holida|y-hebrew|
|00005e00| 20 39 20 32 35 20 22 48 | 61 6e 75 6b 6b 61 68 22 | 9 25 "H|anukkah"|
|00005e10| 29 29 20 28 69 66 20 61 | 6c 6c 2d 68 65 62 72 65 |)) (if a|ll-hebre|
|00005e20| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 68 6f 6c 69 64 |w-calend|ar-holid|
|00005e30| 61 79 73 20 28 68 6f 6c | 69 64 61 79 2d 68 65 62 |ays (hol|iday-heb|
|00005e40| 72 65 77 20 31 30 20 28 | 6c 65 74 20 28 28 68 2d |rew 10 (|let ((h-|
|00005e50| 79 65 61 72 20 28 65 78 | 74 72 61 63 74 2d 63 61 |year (ex|tract-ca|
|00005e60| 6c 65 6e 64 61 72 2d 79 | 65 61 72 20 28 63 61 6c |lendar-y|ear (cal|
|00005e70| 65 6e 64 61 72 2d 68 65 | 62 72 65 77 2d 66 72 6f |endar-he|brew-fro|
|00005e80| 6d 2d 61 62 73 6f 6c 75 | 74 65 20 28 63 61 6c 65 |m-absolu|te (cale|
|00005e90| 6e 64 61 72 2d 61 62 73 | 6f 6c 75 74 65 2d 66 72 |ndar-abs|olute-fr|
|00005ea0| 6f 6d 2d 67 72 65 67 6f | 72 69 61 6e 20 28 6c 69 |om-grego|rian (li|
|00005eb0| 73 74 20 64 69 73 70 6c | 61 79 65 64 2d 6d 6f 6e |st displ|ayed-mon|
|00005ec0| 74 68 20 32 38 20 64 69 | 73 70 6c 61 79 65 64 2d |th 28 di|splayed-|
|00005ed0| 79 65 61 72 29 29 29 29 | 29 29 20 28 69 66 20 28 |year))))|)) (if (|
|00005ee0| 3d 20 28 25 20 28 63 61 | 6c 65 6e 64 61 72 2d 61 |= (% (ca|lendar-a|
|00005ef0| 62 73 6f 6c 75 74 65 2d | 66 72 6f 6d 2d 68 65 62 |bsolute-|from-heb|
|00005f00| 72 65 77 20 28 6c 69 73 | 74 20 31 30 20 31 30 20 |rew (lis|t 10 10 |
|00005f10| 68 2d 79 65 61 72 29 29 | 20 37 29 20 36 29 20 31 |h-year))| 7) 6) 1|
|00005f20| 31 20 31 30 29 29 20 22 | 54 7a 6f 6d 20 54 65 76 |1 10)) "|Tzom Tev|
|00005f30| 65 74 68 22 29 29 20 28 | 69 66 20 61 6c 6c 2d 68 |eth")) (|if all-h|
|00005f40| 65 62 72 65 77 2d 63 61 | 6c 65 6e 64 61 72 2d 68 |ebrew-ca|lendar-h|
|00005f50| 6f 6c 69 64 61 79 73 20 | 28 68 6f 6c 69 64 61 79 |olidays |(holiday|
|00005f60| 2d 68 65 62 72 65 77 20 | 31 31 20 31 35 20 22 54 |-hebrew |11 15 "T|
|00005f70| 75 20 42 27 53 68 65 76 | 61 74 22 29 29 29 20 68 |u B'Shev|at"))) h|
|00005f80| 65 62 72 65 77 2d 68 6f | 6c 69 64 61 79 73 2d 33 |ebrew-ho|lidays-3|
|00005f90| 20 28 28 69 66 20 61 6c | 6c 2d 68 65 62 72 65 77 | ((if al|l-hebrew|
|00005fa0| 2d 63 61 6c 65 6e 64 61 | 72 2d 68 6f 6c 69 64 61 |-calenda|r-holida|
|00005fb0| 79 73 20 28 68 6f 6c 69 | 64 61 79 2d 68 65 62 72 |ys (holi|day-hebr|
|00005fc0| 65 77 20 31 31 20 28 6c | 65 74 20 28 28 6d 20 64 |ew 11 (l|et ((m d|
|00005fd0| 69 73 70 6c 61 79 65 64 | 2d 6d 6f 6e 74 68 29 20 |isplayed|-month) |
|00005fe0| 28 79 20 64 69 73 70 6c | 61 79 65 64 2d 79 65 61 |(y displ|ayed-yea|
|00005ff0| 72 29 29 20 28 69 6e 63 | 72 65 6d 65 6e 74 2d 63 |r)) (inc|rement-c|
|00006000| 61 6c 65 6e 64 61 72 2d | 6d 6f 6e 74 68 20 6d 20 |alendar-|month m |
|00006010| 79 20 31 29 20 28 6c 65 | 74 2a 20 28 28 68 2d 79 |y 1) (le|t* ((h-y|
|00006020| 65 61 72 20 28 65 78 74 | 72 61 63 74 2d 63 61 6c |ear (ext|ract-cal|
|00006030| 65 6e 64 61 72 2d 79 65 | 61 72 20 28 63 61 6c 65 |endar-ye|ar (cale|
|00006040| 6e 64 61 72 2d 68 65 62 | 72 65 77 2d 66 72 6f 6d |ndar-heb|rew-from|
|00006050| 2d 61 62 73 6f 6c 75 74 | 65 20 28 63 61 6c 65 6e |-absolut|e (calen|
|00006060| 64 61 72 2d 61 62 73 6f | 6c 75 74 65 2d 66 72 6f |dar-abso|lute-fro|
|00006070| 6d 2d 67 72 65 67 6f 72 | 69 61 6e 20 28 6c 69 73 |m-gregor|ian (lis|
|00006080| 74 20 6d 20 28 63 61 6c | 65 6e 64 61 72 2d 6c 61 |t m (cal|endar-la|
|00006090| 73 74 2d 64 61 79 2d 6f | 66 2d 6d 6f 6e 74 68 20 |st-day-o|f-month |
|000060a0| 6d 20 79 29 20 79 29 29 | 29 29 29 20 28 73 2d 73 |m y) y))|))) (s-s|
|000060b0| 20 28 63 61 6c 65 6e 64 | 61 72 2d 68 65 62 72 65 | (calend|ar-hebre|
|000060c0| 77 2d 66 72 6f 6d 2d 61 | 62 73 6f 6c 75 74 65 20 |w-from-a|bsolute |
|000060d0| 28 69 66 20 28 3d 20 28 | 25 20 28 63 61 6c 65 6e |(if (= (|% (calen|
|000060e0| 64 61 72 2d 61 62 73 6f | 6c 75 74 65 2d 66 72 6f |dar-abso|lute-fro|
|000060f0| 6d 2d 68 65 62 72 65 77 | 20 28 6c 69 73 74 20 37 |m-hebrew| (list 7|
|00006100| 20 31 20 68 2d 79 65 61 | 72 29 29 20 37 29 20 36 | 1 h-yea|r)) 7) 6|
|00006110| 29 20 28 63 61 6c 65 6e | 64 61 72 2d 64 61 79 6e |) (calen|dar-dayn|
|00006120| 61 6d 65 2d 6f 6e 2d 6f | 72 2d 62 65 66 6f 72 65 |ame-on-o|r-before|
|00006130| 20 36 20 28 63 61 6c 65 | 6e 64 61 72 2d 61 62 73 | 6 (cale|ndar-abs|
|00006140| 6f 6c 75 74 65 2d 66 72 | 6f 6d 2d 68 65 62 72 65 |olute-fr|om-hebre|
|00006150| 77 20 28 6c 69 73 74 20 | 31 31 20 31 37 20 68 2d |w (list |11 17 h-|
|00006160| 79 65 61 72 29 29 29 20 | 28 63 61 6c 65 6e 64 61 |year))) |(calenda|
|00006170| 72 2d 64 61 79 6e 61 6d | 65 2d 6f 6e 2d 6f 72 2d |r-daynam|e-on-or-|
|00006180| 62 65 66 6f 72 65 20 36 | 20 28 63 61 6c 65 6e 64 |before 6| (calend|
|00006190| 61 72 2d 61 62 73 6f 6c | 75 74 65 2d 66 72 6f 6d |ar-absol|ute-from|
|000061a0| 2d 68 65 62 72 65 77 20 | 28 6c 69 73 74 20 31 31 |-hebrew |(list 11|
|000061b0| 20 31 36 20 68 2d 79 65 | 61 72 29 29 29 29 29 29 | 16 h-ye|ar))))))|
|000061c0| 20 28 64 61 79 20 28 65 | 78 74 72 61 63 74 2d 63 | (day (e|xtract-c|
|000061d0| 61 6c 65 6e 64 61 72 2d | 64 61 79 20 73 2d 73 29 |alendar-|day s-s)|
|000061e0| 29 29 20 64 61 79 29 29 | 20 22 53 68 61 62 62 61 |)) day))| "Shabba|
|000061f0| 74 20 53 68 69 72 61 68 | 22 29 29 29 20 68 65 62 |t Shirah|"))) heb|
|00006200| 72 65 77 2d 68 6f 6c 69 | 64 61 79 73 2d 34 20 28 |rew-holi|days-4 (|
|00006210| 28 68 6f 6c 69 64 61 79 | 2d 70 61 73 73 6f 76 65 |(holiday|-passove|
|00006220| 72 2d 65 74 63 29 20 28 | 69 66 20 28 61 6e 64 20 |r-etc) (|if (and |
|00006230| 61 6c 6c 2d 68 65 62 72 | 65 77 2d 63 61 6c 65 6e |all-hebr|ew-calen|
|00006240| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 28 6c 65 |dar-holi|days (le|
|00006250| 74 2a 20 28 28 6d 20 64 | 69 73 70 6c 61 79 65 64 |t* ((m d|isplayed|
|00006260| 2d 6d 6f 6e 74 68 29 20 | 28 79 20 64 69 73 70 6c |-month) |(y displ|
|00006270| 61 79 65 64 2d 79 65 61 | 72 29 20 28 79 65 61 72 |ayed-yea|r) (year|
|00006280| 29 29 20 28 69 6e 63 72 | 65 6d 65 6e 74 2d 63 61 |)) (incr|ement-ca|
|00006290| 6c 65 6e 64 61 72 2d 6d | 6f 6e 74 68 20 6d 20 79 |lendar-m|onth m y|
|000062a0| 20 2d 31 29 20 28 6c 65 | 74 20 28 28 79 65 61 72 | -1) (le|t ((year|
|000062b0| 20 28 65 78 74 72 61 63 | 74 2d 63 61 6c 65 6e 64 | (extrac|t-calend|
|000062c0| 61 72 2d 79 65 61 72 20 | 28 63 61 6c 65 6e 64 61 |ar-year |(calenda|
|000062d0| 72 2d 6a 75 6c 69 61 6e | 2d 66 72 6f 6d 2d 61 62 |r-julian|-from-ab|
|000062e0| 73 6f 6c 75 74 65 20 28 | 63 61 6c 65 6e 64 61 72 |solute (|calendar|
|000062f0| 2d 61 62 73 6f 6c 75 74 | 65 2d 66 72 6f 6d 2d 67 |-absolut|e-from-g|
|00006300| 72 65 67 6f 72 69 61 6e | 20 28 6c 69 73 74 20 6d |regorian| (list m|
|00006310| 20 31 20 79 29 29 29 29 | 29 29 20 28 3d 20 32 31 | 1 y))))|)) (= 21|
|00006320| 20 28 25 20 79 65 61 72 | 20 32 38 29 29 29 29 29 | (% year| 28)))))|
|00006330| 20 28 68 6f 6c 69 64 61 | 79 2d 6a 75 6c 69 61 6e | (holida|y-julian|
|00006340| 20 33 20 32 36 20 22 4b | 69 64 64 75 73 68 20 48 | 3 26 "K|iddush H|
|00006350| 61 48 61 6d 61 68 22 29 | 29 20 28 69 66 20 61 6c |aHamah")|) (if al|
|00006360| 6c 2d 68 65 62 72 65 77 | 2d 63 61 6c 65 6e 64 61 |l-hebrew|-calenda|
|00006370| 72 2d 68 6f 6c 69 64 61 | 79 73 20 28 68 6f 6c 69 |r-holida|ys (holi|
|00006380| 64 61 79 2d 74 69 73 68 | 61 2d 62 2d 61 76 2d 65 |day-tish|a-b-av-e|
|00006390| 74 63 29 29 29 20 68 65 | 62 72 65 77 2d 68 6f 6c |tc))) he|brew-hol|
|000063a0| 69 64 61 79 73 5d 20 34 | 29 0a 23 40 37 38 20 2a |idays] 4|).#@78 *|
|000063b0| 4a 65 77 69 73 68 20 68 | 6f 6c 69 64 61 79 73 2e |Jewish h|olidays.|
|000063c0| 0a 53 65 65 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |.See the| documen|
|000063d0| 74 61 74 69 6f 6e 20 66 | 6f 72 20 60 63 61 6c 65 |tation f|or `cale|
|000063e0| 6e 64 61 72 2d 68 6f 6c | 69 64 61 79 73 27 20 66 |ndar-hol|idays' f|
|000063f0| 6f 72 20 64 65 74 61 69 | 6c 73 2e 1f 0a 28 64 65 |or detai|ls...(de|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.